Template:Infobox island parish: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
No edit summary
RB (talk | contribs)
No edit summary
 
(3 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}} }}}}'''{{#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}}]]'''
Line 41: Line 44:
! style="background: #D0F0C0;" {{!}} Main settlement:
! style="background: #D0F0C0;" {{!}} Main settlement:
{{!}} {{{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