Template:Infobox university: Difference between revisions
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..." |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | <includeonly> | ||
<table class="infobox" style="width:280px; font-size:90%; line-height:1.4em; border:1px solid #aaa; background:#f9f9f9; padding:0.4em;"> | |||
{{#if:{{{name|}}}| | |||
<tr> | |||
<th colspan="2" style="text-align:center; font-size:125%; background:#e6e6e6;">{{{name}}}</th> | |||
| | </tr> | ||
}} | |||
{{#if:{{{image|}}}| | |||
<tr> | |||
<td colspan="2" style="text-align:center;">[[File:{{{image}}}|{{{image_size|250px}}}]]</td> | |||
</tr> | |||
}} | |||
{{#if:{{{caption|}}}| | |||
<tr> | |||
<td colspan="2" style="text-align:center; font-size:90%; font-style:italic;">{{{caption}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{motto|}}}| | |||
<tr> | |||
<td colspan="2" style="text-align:center; font-style:italic;">“{{{motto}}}”</td> | |||
</tr> | |||
}} | |||
{{#if:{{{established|}}}| | |||
<tr> | |||
<th scope="row">Established</th> | |||
<td>{{{established}}}</td> | |||
</tr> | |||
| city | }} | ||
| | |||
{{#if:{{{type|}}}| | |||
<tr> | |||
<th scope="row">Type</th> | |||
<td>{{{type}}}</td> | |||
</tr> | |||
}} | |||
{{#if:{{{affiliation|}}}| | |||
<tr> | |||
<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> |