Template:Infobox college: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
No edit summary
Line 1: Line 1:
{{#if:{{{university|}}}|{{#vardefine:uni|{{#replace:{{#replace:{{{university}}}|University of|}}|University}}}}[[Category:Colleges of the University of {{#var:uni}}]]}}{{#vardefine:ptitle|{{#if:{{{principal title|}}}|{{{principal title}}}|Principal}} }}{{#vardefine:liv1|{{colour|{{#if:{{{livery|}}}|{{{livery}}}|brick}}}}}}{{#vardefine:liv2|{{colour|{{#if:{{{headtext|}}}|{{{headtext}}}|white}}}}}}{| 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;"
{{#if:{{{university|}}}|{{#vardefine:uni|{{#replace:{{#replace:{{{university}}}|University of|}}|University}}}}}}[[Category:Colleges of the University of {{#var:uni}}]]}}{{#vardefine:ptitle|{{#if:{{{principal title|}}}|{{{principal title}}}|Principal}} }}{{#vardefine:liv1|{{colour|{{#if:{{{livery|}}}|{{{livery}}}|brick}}}}}}{{#vardefine:liv2|{{colour|{{#if:{{{headtext|}}}|{{{headtext}}}|white}}}}}}{| 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 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}}} }}<!--{{#if:{{{university|}}}| <br>{{uc:University of {{#var:uni}} }} }}-->{{#vardefine:type|college}}
|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}}} }}{{#if:{{{university|}}}| <br>{{uc: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}}}}}]]}}

Revision as of 20:57, 15 January 2021

}}{| 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 class= style="text-align: center; background:#CB4154; color:#FFFFFF; font-size: 100%"|Infobox college- ! colspan=2 style="background: white; text-align: center; font-size: 100%;" | |- ! colspan=2 style="background: white; text-align: center; font-size: 100%;" |

|- ! colspan=2 style="background: white; text-align: center; font-size: 100%;" |

|- class="note" ! colspan=2 style="background: white; text-align: center; font-size: 85%;" | [[File:{{{picture}}}|250px]]
{{{picture caption}}} |- ! style="background: #CB4154; color: #FFFFFF;" | | [[File:{{{arms}}}|center|80px]] |- ! style="background: #CB4154; color: #FFFFFF;" | Founded: | {{{founded}}} |- ! style="background: #CB4154; color: #FFFFFF;" | Principal: | |- ! style="background: #CB4154; color: #FFFFFF;" | No. of students: | {{{students}}} |- ! style="background: #CB4154; color: #FFFFFF;" | Website: | {{{website}}} |- | colspan="2" style="background: #CB4154; color: #FFFFFF; text-align: center;"|Location |- ! style="background: #CB4154; color: #FFFFFF;" | Grid reference: | |- ! style="background: #CB4154; color: #FFFFFF;" | Location: | {{{latitude}}} {{{longitude}}} |- ! style="background: #CB4154; color: #FFFFFF;" | City: | {{{city}}} |- ! style="background: #CB4154; color: #FFFFFF;" | Town: | {{{town}}} |- ! style="background: #CB4154; color: #FFFFFF;" | Village: | {{{village}}} |- |}