Difference between revisions of "Template:Infobox college"

From Wikishire
Jump to: navigation, search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
{{#if: {{{university| }}}| <br>{{uc:University of {{#var:uni}}}} [[Category:Colleges of the University of {{#var:uni}}]]}}{{#vardefine:type|college}}
 
{{#if: {{{university| }}}| <br>{{uc:University of {{#var:uni}}}} [[Category:Colleges of the University of {{#var:uni}}]]}}{{#vardefine:type|college}}
 
|-
 
|-
! 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:Colleges in {{namefix 2|{{{county}}}}}]]}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}} }}{{#ifeq:{{#varexists:city}}|1||[[{{#var:shire}}]]}}[[Category:Colleges in {{namefix 2|{{{bailiwick}}}}}]]}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}} }}{{#ifeq:{{#varexists:city}}|1||[[{{#var:shire}}]]}}[[Category:Colleges in {{namefix 2|{{{territory}}}}}]]}}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}[[{{namefix|{{{county 1}}}}}]][[Category:Colleges in {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|, [[{{namefix|{{{county 2}}}}}]][[Category:Colleges in {{namefix 2|{{{county 2}}}}}]]}}{{#if:{{{county 3|}}}|, [[{{namefix|{{{county 3}}}}}]][[Category:Colleges in {{namefix 2|{{{county 3}}}}}]]}}{{#if:{{{county 4|}}}|, [[{{namefix|{{{county 4}}}}}]][[Category:Colleges in {{namefix 2|{{{county 4}}}}}]]}}
+
! 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:Colleges in {{namefix 2|{{{county}}}}}]]}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}} }}{{#ifeq:{{#varexists:city}}|1||[[{{#var:shire}}]]}}[[Category:Colleges in {{namefix 2|{{{bailiwick}}}}}]]}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}} }}{{#ifeq:{{#varexists:city}}|1||[[{{#var:shire}}]]}}[[Category:Colleges in {{namefix 2|{{{territory}}}}}]]}}{{#if:{{{county 1|}}}|{{#vardefine:shire|{{namefix|{{{county 1}}}}} }}[[{{namefix|{{{county 1}}}}}]][[Category:Colleges in {{namefix 2|{{{county 1}}}}}]]}}{{#if:{{{county 2|}}}|, [[{{namefix|{{{county 2}}}}}]][[Category:Colleges in {{namefix 2|{{{county 2}}}}}]]}}{{#if:{{{county 3|}}}|, [[{{namefix|{{{county 3}}}}}]][[Category:Colleges in {{namefix 2|{{{county 3}}}}}]]}}{{#if:{{{county 4|}}}|, [[{{namefix|{{{county 4}}}}}]][[Category:Colleges in {{namefix 2|{{{county 4}}}}}]]}}
 
|-
 
|-
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
 
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
Line 32: Line 32:
 
! style="background: {{#var:liv1}}; color: {{#var:liv2}};" {{!}} Website:
 
! style="background: {{#var:liv1}}; color: {{#var:liv2}};" {{!}} Website:
 
{{!}} {{{website}}} }}
 
{{!}} {{{website}}} }}
 +
|-
 +
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
 +
{{#if:{{{scarf|}}}|{{{scarf}}}}}
 
|-
 
|-
 
| colspan="2" style="background: {{#var:liv1}}; color: {{#var:liv2}}; text-align: center;"|'''Location'''
 
| colspan="2" style="background: {{#var:liv1}}; color: {{#var:liv2}}; text-align: center;"|'''Location'''

Latest revision as of 23:23, 13 March 2024

Infobox college
[[File:{{{picture}}}|250px]]
{{{picture caption}}}
[[File:{{{arms}}}|center|80px]]
Founded: {{{founded}}}
Principal:
No. of students: {{{students}}}
Website: {{{website}}}
Location
Grid reference:
Location: {{{latitude}}} {{{longitude}}}
City: {{{city}}}
Town: {{{town}}}
Village: {{{village}}}