Difference between revisions of "Template:Infobox university"

From Wikishire
Jump to: navigation, search
Line 2: Line 2:
 
|colspan=2 class= style="text-align: center; background:{{#var:liv1}}; color:{{#var:liv2}}; font-size: 100%"|<big class="fn org">{{#if:{{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{latin| }}}| <br>''Latin:'' {{{latin}}} }}{{#if: {{{greek| }}}| <br>Greek: ''{{{greek}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#vardefine:type|university}}
 
|colspan=2 class= style="text-align: center; background:{{#var:liv1}}; color:{{#var:liv2}}; font-size: 100%"|<big class="fn org">{{#if:{{{name| }}}|'''{{{name}}}'''|'''{{PAGENAME}}''' }}</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{gaelic| }}}| <br>{{lang|gd|{{{gaelic}}} }} }}{{#if: {{{irish| }}}| <br>{{lang|ga|{{{irish}}} }} }}{{#if: {{{scots| }}}| <br>{{lang|sco|{{{scots}}} }} }}{{#if: {{{cornish| }}}| <br>{{lang|kw|{{{cornish}}} }} }}{{#if: {{{latin| }}}| <br>''Latin:'' {{{latin}}} }}{{#if: {{{greek| }}}| <br>Greek: ''{{{greek}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#vardefine:type|university}}
 
|-
 
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}} }}[[{{#var:shire}}]][[Category:Universities in {{namefix 2|{{{county}}}}}]]}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}} }}[[{{#var:shire}}]][[Category:Universities in {{namefix 2|{{{bailiwick}}}}}]]}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}} }}[[{{#var:shire}}]][[Category:Universities in {{namefix 2|{{{territory}}}}}]]}}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}[[{{namefix|{{{county 1}}}}}]][[Category:Universities in {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|, [[{{namefix|{{{county 2}}}}}]][[Category:Universities in {{namefix 2|{{{county 2}}}}}]]}}{{#if:{{{county 3|}}}|, [[{{namefix|{{{county 3}}}}}]][[Category:Universities in {{namefix 2|{{{county 3}}}}}]]}}{{#if:{{{county 4|}}}|, [[{{namefix|{{{county 4}}}}}]][[Category:Universities in {{namefix 2|{{{county 4}}}}}]]}}{{#ifeq:{{{founded}}}|{{#expr:{{{founded}}}/1}}|{{#ifeq:{{#expr:{{{founded}}}<1914}}|1|[[Category:Universities founded before 1914]]|[[Category:Universities founded since 1914]]}}}}
+
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}{{#if:{{{city|}}}|{{#vardefine:city|{{{city}}} }}|{{#if:{{{town|}}}|{{#vardefine:city|{{{town}}} }} }}|{{#if:{{{village|}}}|{{#vardefine:city|{{{village}}} }} }} }}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}} }}{{#ifeq:{{#varexists:city}}|1||[[{{#var:shire}}]]}}[[Category:Universities in {{namefix 2|{{{county}}}}}]]}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}} }}{{#ifeq:{{#varexists:city}}|1||[[{{#var:shire}}]]}}[[Category:Universities in {{namefix 2|{{{bailiwick}}}}}]]}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}} }}{{#ifeq:{{#varexists:city}}|1||[[{{#var:shire}}]]}}[[Category:Universities in {{namefix 2|{{{territory}}}}}]]}}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}[[{{namefix|{{{county 1}}}}}]][[Category:Universities in {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|, [[{{namefix|{{{county 2}}}}}]][[Category:Universities in {{namefix 2|{{{county 2}}}}}]]}}{{#if:{{{county 3|}}}|, [[{{namefix|{{{county 3}}}}}]][[Category:Universities in {{namefix 2|{{{county 3}}}}}]]}}{{#if:{{{county 4|}}}|, [[{{namefix|{{{county 4}}}}}]][[Category:Universities in {{namefix 2|{{{county 4}}}}}]]}}{{#ifeq:{{{founded}}}|{{#expr:{{{founded}}}/1}}|{{#ifeq:{{#expr:{{{founded}}}<1914}}|1|[[Category:Universities founded before 1914]]|[[Category:Universities founded since 1914]]}}}}
 
|-
 
|-
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
Line 8: Line 8:
 
|-
 
|-
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
{{#if:{{{city|}}}|{{{city}}}}}{{#if:{{{town|}}}|{{{town}}}}}{{#if:{{{village|}}}|{{{village}}}}} {{#ifeq:{{#varexists:shire}}|1|<br/>[[{{#var:shire}}]]}}
+
{{#ifeq:{{#varexists:city}}|1|[[{{#var:city}}]],<br />}}[[{{#var:shire}}]]
 
|- class="note"
 
|- class="note"
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |
 
{{#if: {{{picture<includeonly>|</includeonly>}}} |

Revision as of 22:56, 23 May 2017

Infobox university

[[]]

[[File:{{{picture}}}|250px]]
{{{picture caption}}}
[[File:{{{arms}}}|center|80px]]
Founded: {{{founded}}}
Chancellor: {{{chancellor}}}
Type: {{{campus}}}
No. of colleges: {{{colleges}}}
Faculty: {{{faculty}}}
Endowment: {{{endowment}}}
Website: {{{website}}}