Difference between revisions of "Template:Infobox university"

From Wikishire
Jump to: navigation, search
(Created page with '<includeonly>{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lig…')
 
m
Line 1: Line 1:
 
<includeonly>{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
 
<includeonly>{| class="infobox geography vcard" style="width:22em; text-align:left; font-size: 88%; line-height: 1.5em" style="float: right; font-size: 85%; border: 1px solid lightgrey; padding: 4px; margin-left: 1em;"
|colspan=2 style="text-align: center; background:#{{#if:{{{livery|}}}|{{zhash|{{{livery}}}}}|CB4154}}; font-color: {{#ifeq:{{{headtext}}}|black|#000000|#ffffff}}; font-size: 100%"|<big class="fn org">{{#vardefine:type|university}}{{#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}}} }} }}
+
|colspan=2 style="text-align: center; background:{{#if:{{{livery|}}}|{{whash|{{{livery}}}}}|#CB4154}}; font-color: {{#ifeq:{{{headtext}}}|black|#000000|#ffffff}}; font-size: 100%"|<big class="fn org">{{#vardefine:type|university}}{{#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}}} }} }}
 
|-
 
|-
 
! 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:{{#expr:{{{foundation}}}<1914}}|1|[[Category:Universities founded before 1914]]|[[Category:Universities founded since 1914]]}}
 
! 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:{{#expr:{{{foundation}}}<1914}}|1|[[Category:Universities founded before 1914]]|[[Category:Universities founded since 1914]]}}

Revision as of 23:37, 25 November 2013