Template:Infobox island 2: Difference between revisions
Jump to navigation
Jump to search
Created page with '{{#vardefine:archipel|0}} {{#if:{{{group|}}}|{{#vardefine:archipel|{{namefix|{{{group}}} }} }}{{#switch:{{namefix|{{{group}}} }} |Orkney={{#vardefine:shire|Orkney}} |Shetland={{#…' |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
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}}]]<br>([[{{#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}}} }} }} | |||
|- | |- | ||
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}} | ! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}} | ||
Line 58: | Line 50: | ||
{{!}} {{{os grid ref}}} }} | {{!}} {{{os grid ref}}} }} | ||
|- | |- | ||
{{#ifeq:{{#varexists:summit}}| | {{#ifeq:{{#varexists:summit}}|1| | ||
! style="background: #D0F0C0;" {{!}} Highest point: | ! style="background: #D0F0C0;" {{!}} Highest point: | ||
{{!}} | {{!}} {{#var:summit}} }} | ||
|- | |- | ||
| colspan="2" style="background: #D0F0C0; text-align: center;"|'''Data''' | | colspan="2" style="background: #D0F0C0; text-align: center;"|'''Data''' |
Latest revision as of 22:14, 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}}} |
Data | |
Population: | {{{population}}} |
Website: | {{{website}}} |