Template:Infobox island parish: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Created page with '{| 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; paddi…'
 
RB (talk | contribs)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| 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;"
{| 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:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|island parish}}{{#vardefine:name|{{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}} }}}}<big>'''{{#var:name}}'''</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{french| }}}| <br>{{lang|fr|{{{French}}} }} }}{{#if: {{{jerriais| }}}| <br>Jérriais: ''{{{jerriais}}}'' }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#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: {{{norse| }}}| <br>{{lang|non|{{{norse}}} }} }}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}{{#switch:{{{island}}}
|colspan=2 class= style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|island parish}}{{#vardefine:name|{{#if: {{{name| }}}|{{{name}}}|{{PAGENAME}} }}}}'''{{#var:name}}'''</big>{{#if: {{{welsh| }}}| <br>{{lang|cy|{{{welsh}}} }} }}{{#if: {{{french| }}}| <br>{{lang|fr|{{{French}}} }} }}{{#if: {{{jerriais| }}}| <br>Jèrriais: ''{{{jerriais}}}'' }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#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: {{{manx| }}}| <br>Manx: ''{{{manx}}}'' }}{{#if: {{{norse| }}}| <br>{{lang|non|{{{norse}}} }} }}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}{{#switch:{{{island}}}
|Guernsey={{#vardefine:shire|Bailiwick of Guernsey}}{{#vardefine:tag|Guernsey}}
|Guernsey={{#vardefine:shire|Bailiwick of Guernsey}}{{#vardefine:tag|Guernsey}}
|Jersey={{#vardefine:shire|Bailiwick of Jersey}}{{#vardefine:tag|Jersey}}
|Jersey={{#vardefine:shire|Bailiwick of Jersey}}{{#vardefine:tag|Jersey}}
Line 8: Line 8:
|Isle of Man
|Isle of Man
|Montserrat={{#vardefine:shire|{{{island}}}}}{{#vardefine:tag|{{{island}}}}}
|Montserrat={{#vardefine:shire|{{{island}}}}}{{#vardefine:tag|{{{island}}}}}
|{{#vardefine:tag|{{#var:shire}}}} }}
|{{#switch:{{#var:shire}}
|Bailiwick of Guernsey={{#vardefine:tag|Guernsey}}
|Bailiwick of Jersey={{#vardefine:tag|Jersey}}
|{{#vardefine:tag|{{#var:shire}}}} }} }}
|-
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}'''[[{{#var:tag}}]]'''
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}'''[[{{#var:tag}}]]'''
|- class="note"
{{#if: {{{arms<includeonly>|</includeonly>}}} |
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{{arms}}}|120px|Arms of {{#var:name}}]]}}
|- class="note"
|- class="note"
{{#if: {{{picture<includeonly>|</includeonly>}}} |
{{#if: {{{picture<includeonly>|</includeonly>}}} |
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{{picture}}}|240px]]{{#if: {{{picture caption<includeonly>|</includeonly>}}}|<br />{{{picture caption<includeonly>|</includeonly>}}}}}}}
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{{picture}}}|240px]]{{#if: {{{picture caption<includeonly>|</includeonly>}}}|<br />{{{picture caption<includeonly>|</includeonly>}}}}}}}
|- class="note"
{{#if: {{{arms<includeonly>|</includeonly>}}} |
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} [[File:{{{arms}}}|80px|Arms of {{#var:name}}]]}}
|-
|-
{{#if: {{{map<includeonly>|</includeonly>}}} |
{{#if: {{{map<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}}  
! style="background: #D0F0C0;" {{!}}  
{{!}} [[File:{{{map}}}|center|200px|Map showing {{#var:name}}]]}}
{{!}} [[File:{{{map}}}|center|200px|Map showing {{#var:name}}]]}}
|-
{{#if: {{{area<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Area:
{{!}} {{{area}}} }}
|-
{{#if: {{{population<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Population:
{{!}} {{{population}}} {{#if:{{{census year|}}}|&nbsp;''{{{census year}}}''}} }}
|-
{{#if: {{{main town<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Main town:
{{!}} {{{main town}}} }}
|-
{{#if: {{{main village<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Main village:
{{!}} {{{main village}}} }}
|-
{{#if: {{{main settlement<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Main settlement:
{{!}} {{{main settlement}}} }}
|-
{{#if:  {{{island<includeonly>|</includeonly>}}} |
!  style="background:  #D0F0C0;" {{!}} Island:
{{!}} {{IsleID|{{{island}}}|{{namefix|{{{county}}}}} }} }}
|-
{{#if: {{{os grid ref<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Grid reference:
{{!}} {{getmap|{{{os grid ref}}}|{{{os grid ref}}}}} }}
|-
{{#if: {{{latitude<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Location:
{{!}} {{wmap|{{{latitude}}}|{{{longitude}}}|zoom=13}}}}
|-
|-
{{#if: {{{website<includeonly>|</includeonly>}}} |
{{#if: {{{website<includeonly>|</includeonly>}}} |
! style="background: #D0F0C0;" {{!}} Website:
! style="background: #D0F0C0;" {{!}} Website:
{{!}} {{{website}}} }}
{{!}} {{{website}}} }}
|}<includeonly>[[Category:Parishes of {{#var:tag}}]]</includeonly><noinclude>{{Infobox island parish/doc}}</noinclude>
|}<includeonly>{{#ifeq:{{#var:tag}}|Isle of Man|[[Category:Parishes of the Isle of Man]]|[[Category:Parishes of {{#var:tag}}]]}}</includeonly><noinclude>{{Infobox island parish/doc}}</noinclude>

Latest revision as of 14:00, 20 February 2018

Infobox island parish
[[]]
[[File:{{{picture}}}|240px]]
{{{picture caption}}}
[[File:{{{arms}}}|80px|Arms of Infobox island parish]]
[[File:{{{map}}}|center|200px|Map showing Infobox island parish]]
Area: {{{area}}}
Population: {{{population}}}
Main town: {{{main town}}}
Main village: {{{main village}}}
Main settlement: {{{main settlement}}}
Island: [[{{{island}}}]]
Grid reference: Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}}
Location: {{{latitude}}} {{{longitude}}}
Website: {{{website}}}

Template:Infobox island parish/doc