Template:Infobox island 2: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
Created page with '{{#vardefine:archipel|0}} {{#if:{{{group|}}}|{{#vardefine:archipel|{{namefix|{{{group}}} }} }}{{#switch:{{namefix|{{{group}}} }} |Orkney={{#vardefine:shire|Orkney}} |Shetland={{#…'
 
RB (talk | contribs)
No edit summary
Line 1: Line 1:
{{#vardefine:archipel|0}}
{| 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:{{{group|}}}|{{#vardefine:archipel|{{namefix|{{{group}}} }} }}{{#switch:{{namefix|{{{group}}} }}
|colspan=2 class= style="text-align: center; background:#D0F0C0; 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: {{{norse| }}}| <br>{{lang|non|{{{norse}}} }} }}<!--Op codes here
-->{{#vardefine:archipel|0}}{{#if:{{{group|}}}|{{#vardefine:archipel|{{namefix|{{{group}}} }} }}{{#switch:{{namefix|{{{group}}} }}
|Orkney={{#vardefine:shire|Orkney}}
|Orkney={{#vardefine:shire|Orkney}}
|Shetland={{#vardefine:shire|Shetland}}
|Shetland={{#vardefine:shire|Shetland}}
}} }}
}} }}{{#vardefine:shire|{{namefix|{{{county}}} }} }}{{#switch:{{#var:shire}}
{{#vardefine:shire|{{namefix|{{{county}}} }} }}
{{#switch:{{#var:shire}}
|Orkney={{#vardefine:archipel|Orkney}}
|Orkney={{#vardefine:archipel|Orkney}}
|Shetland={{#vardefine:archipel|Shetland}}
|Shetland={{#vardefine:archipel|Shetland}}
}}
}}{{#switch:{{#var:archipel}}
{{#switch:{{#var:archipel}}
|0={{#vardefine:cats|shireonly}}
|0={{#vardefine:cats|shireonly}}
|Orkney
|Orkney
Line 15: Line 13:
|Isles of Scilly
|Isles of Scilly
|British Isles={{#vardefine:cats|grouponly}}
|British Isles={{#vardefine:cats|grouponly}}
|{{#vardefine:cats|group&shire}} }}
|{{#vardefine:cats|group&shire}} }}{{#vardefine:labels|{{#switch:{{#var:cats}}
{{#vardefine:labels|{{#switch:{{#var:cats}}
|shireonly=[[{{#var:shire}}]]
|shireonly=[[{{#var:shire}}]]
|grouponly=[[{{#var:archipel}}]]
|grouponly=[[{{#var:archipel}}]]
|[[{{#var:archipel}}]]<br>[[{{#var:shire}}]]}}}}
|[[{{#var:archipel}}]]&nbsp;&mdash;&nbsp;[[{{#var:shire}}]]}}}}{{#if:{{{highest point|}}}|{{#vardefine:summit|{{{highest point}}} }} }}{{#if:{{{summit|}}}|{{#vardefine:summit|{{{summit}}} }} }}{{#if:{{{highest elevation|}}}|{{#vardefine:summit|{{{highest elevation}}} }} }}<!--end of op codes-->
{{#if:{{{highest point|}}}|{{#vardefine:summit|{{{highest point}}} }} }}
{{#if:{{{summit|}}}|{{#vardefine:summit|{{{summit}}} }} }}
{{#if:{{{highest elevation|}}}|{{#vardefine:summit|{{{highest elevation}}} }} }}
{| 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">{{#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: {{{norse| }}}| <br>{{lang|non|{{{norse}}} }} }}
|-
|-
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}}

Revision as of 21:40, 14 June 2011

Infobox island 2

[[{{{county}}}]]

[[File:{{{picture}}}|240px]]
{{{picture caption}}}
Main town: {{{main town}}}
Main village: {{{main village}}}
Main settlement: {{{main settlement}}}
Location

[[File:{{{map}}}|240px]]

Location: {{{latitude}}} N, {{{longitude}}} E
Grid reference: {{{os grid ref}}}
Highest point: {{{#var:summit}}}
Data
Population: {{{population}}}
Website: {{{website}}}

Template:Infobox island/doc