Template:Infobox college: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{#vardefine:uni|{{#replace:{{#replace:{{{university}}}|University of|}}|University|}}}}{{#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}}} }} | |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}} | {{#if: {{{university| }}}| <br>{{uc:University of {{#var:uni}}}} }}{{#vardefine:type|college}} | ||
|- | |- | ||
Line 55: | Line 55: | ||
{{!}} {{ifif|{{{village}}}}} }} | {{!}} {{ifif|{{{village}}}}} }} | ||
|- | |- | ||
|}<!--Townsite code line-->{{#vardefine:town|{{extract name|{{#if:{{{city|}}}|{{{city}}}|{{#if:{{{town|}}}|{{{town}}}|{{#if:{{{village|}}}|{{{village}}}|0 }} }} }} }} }}{{town site|{{town fix|{{#var:town}}}}|{{#var:type}}}}<noinclude>[[Category:Infoboxes|College]] | |}{{#if:{{{university|}}}|[[Category:Colleges of the University of {{#var:uni}}]]}} | ||
<!--Townsite code line-->{{#vardefine:town|{{extract name|{{#if:{{{city|}}}|{{{city}}}|{{#if:{{{town|}}}|{{{town}}}|{{#if:{{{village|}}}|{{{village}}}|0 }} }} }} }} }}{{town site|{{town fix|{{#var:town}}}}|{{#var:type}}}}<noinclude>[[Category:Infoboxes|College]] |
Revision as of 23:04, 15 January 2021
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}}} |