Template:Infobox university: Difference between revisions

Shovon (talk | contribs)
Created page with "{{Infobox | name = {{{name|}}} | native_name = {{{native_name|}}} | image = {{{image|}}} | image_size = {{{image_size|200px}}} | caption = {{{caption|}}} | motto = {{{motto|}}} | established = {{{established|}}} | closed = {{{closed|}}} | type = {{{type|}}} | affiliation = {{{affiliation|}}} | endowment = {{{endowment|}}} | budget = {{{budget|}}} | officer_in_charge = {{{officer_in_charge|}}} | chairman = {{{chai..."
 
Shovon (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{Infobox
<includeonly>
| name        = {{{name|}}}
<table class="infobox" style="width:280px; font-size:90%; line-height:1.4em; border:1px solid #aaa; background:#f9f9f9; padding:0.4em;">
| native_name  = {{{native_name|}}}
  {{#if:{{{name|}}}|
| image        = {{{image|}}}
    <tr>
| image_size  = {{{image_size|200px}}}
      <th colspan="2" style="text-align:center; font-size:125%; background:#e6e6e6;">{{{name}}}</th>
| caption      = {{{caption|}}}
    </tr>
| motto        = {{{motto|}}}
  }}
| established  = {{{established|}}}
 
| closed       = {{{closed|}}}
  {{#if:{{{image|}}}|
| type        = {{{type|}}}
    <tr>
| affiliation  = {{{affiliation|}}}
      <td colspan="2" style="text-align:center;">[[File:{{{image}}}|{{{image_size|250px}}}]]</td>
| endowment    = {{{endowment|}}}
    </tr>
| budget       = {{{budget|}}}
  }}
| officer_in_charge = {{{officer_in_charge|}}}
 
| chairman     = {{{chairman|}}}
  {{#if:{{{caption|}}}|
| chancellor   = {{{chancellor|}}}
    <tr>
| president    = {{{president|}}}
       <td colspan="2" style="text-align:center; font-size:90%; font-style:italic;">{{{caption}}}</td>
| provost      = {{{provost|}}}
    </tr>
| rector       = {{{rector|}}}
  }}
| vice_chancellor = {{{vice_chancellor|}}}
 
| principal    = {{{principal|}}}
  {{#if:{{{motto|}}}|
| dean        = {{{dean|}}}
    <tr>
| director     = {{{director|}}}
      <td colspan="2" style="text-align:center; font-style:italic;">“{{{motto}}}”</td>
| head_label   = {{{head_label|}}}
    </tr>
| head        = {{{head|}}}
  }}
| academic_staff = {{{academic_staff|}}}
 
| administrative_staff = {{{administrative_staff|}}}
  {{#if:{{{established|}}}|
| students     = {{{students|}}}
    <tr>
| undergrad    = {{{undergrad|}}}
       <th scope="row">Established</th>
| postgrad    = {{{postgrad|}}}
      <td>{{{established}}}</td>
| doctoral     = {{{doctoral|}}}
    </tr>
| city         = {{{city|}}}
  }}
| state        = {{{state|}}}
 
| province    = {{{province|}}}
  {{#if:{{{type|}}}|
| country      = {{{country|}}}
     <tr>
| campus       = {{{campus|}}}
      <th scope="row">Type</th>
| language     = {{{language|}}}
      <td>{{{type}}}</td>
| colours      = {{{colours|}}}
    </tr>
| nickname     = {{{nickname|}}}
  }}
| mascot       = {{{mascot|}}}
 
| website      = {{{website|}}}
   {{#if:{{{affiliation|}}}|
| logo        = {{{logo|}}}
    <tr>
| logo_size    = {{{logo_size|}}}
      <th scope="row">Affiliation</th>
      <td>{{{affiliation}}}</td>
    </tr>
  }}
 
  {{#if:{{{rector|}}}|
    <tr>
       <th scope="row">Rector</th>
      <td>{{{rector}}}</td>
    </tr>
  }}
 
  {{#if:{{{president|}}}|
    <tr>
      <th scope="row">President</th>
      <td>{{{president}}}</td>
    </tr>
  }}
 
  {{#if:{{{students|}}}|
     <tr>
      <th scope="row">Students</th>
      <td>{{{students}}}</td>
    </tr>
  }}
 
   {{#if:{{{undergrad|}}}|
    <tr>
      <th scope="row">Undergraduates</th>
      <td>{{{undergrad}}}</td>
    </tr>
  }}
 
  {{#if:{{{postgrad|}}}|
    <tr>
      <th scope="row">Postgraduates</th>
      <td>{{{postgrad}}}</td>
     </tr>
  }}
 
  {{#if:{{{city|}}}{{{state|}}}{{{country|}}}|
     <tr>
      <th scope="row">Location</th>
      <td>{{#if:{{{city|}}}|{{{city}}}, }}{{#if:{{{state|}}}|{{{state}}}, }}{{{country|}}}</td>
    </tr>
  }}
 
  {{#if:{{{campus|}}}|
    <tr>
       <th scope="row">Campus</th>
      <td>{{{campus}}}</td>
     </tr>
  }}
 
  {{#if:{{{language|}}}|
    <tr>
      <th scope="row">Language</th>
      <td>{{{language}}}</td>
     </tr>
  }}
 
  {{#if:{{{colours|}}}|
    <tr>
       <th scope="row">Colours</th>
      <td>{{{colours}}}</td>
    </tr>
  }}
 
  {{#if:{{{website|}}}|
    <tr>
      <th scope="row">Website</th>
      <td>[{{{website}}} {{{website}}}]</td>
    </tr>
  }}
 
</table>
</includeonly>
 
<noinclude>
==Usage==
<pre>
{{Infobox university
| name        = Example University
| image        = ExampleBuilding.jpg
| image_size  = 250px
| caption      = Main campus building
| motto        = "Knowledge is power"
| established  = 1900
| type        = Public
| affiliation  = Ministry of Education
| rector      = Dr. John Doe
| president    = Prof. Jane Smith
| students    = 25,000
| undergrad    = 15,000
| postgrad    = 10,000
| city        = Baku
| state        = Absheron
| country      = Azerbaijan
| campus      = Urban
| language    = Azerbaijani, English
| colours      = Blue and White
| website      = https://www.example.edu
}}
}}
</pre>
</noinclude>