Template:Infobox island: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Redo |
||
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}}{{#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: {{{ | |colspan=2 class= style="text-align: center; background:#D0F0C0; font-size: 100%"|<big class="fn org">{{#vardefine:type|island}}{{#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: {{{jerriais| }}}| <br>''Jèrriais:'' {{{jerriais}}} }}{{#if: {{{dgernesiais| }}}| <br>Dgèrnésiais: ''{{{dgernesiais}}}'' }}{{#if: {{{manx| }}}| <br>{{lang|gv|{{{manx}}} }} }}{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}<!--Island Op codes--><!--{{Group-shire|{{{group}}}}}--><!--Groups & shires | ||
-->{{#vardefine:archipel|{{#if:{{{group|}}}|{{namefix|{{{group}}}}}| | |||
| | {{#switch:{{#var:shire | ||
| | |Orkney=Orkney | ||
|Shetland=Shetland | |||
|0}} }} }}{{#vardefine:cats|{{#switch:{{#var:archipel}} | |||
}} }}{{ | |||
| | |||
|{{ | |||
| | |||
|0 | |0 | ||
|Chagos | |||
|Chagos Archipelago | |||
|Windward Islands | |Windward Islands | ||
|Leeward Islands | |Leeward Islands | ||
|West Indies= | |West Indies=shireonly | ||
|Inner Hebrides | |||
|Outer Hebrides | |||
| | |Hebrides=group&shire | ||
| | |grouponly}}}}{{#vardefine:headtag|{{#switch:{{#var:archipel}} | ||
| | |0 | ||
|{{#var:shire}}=[[{{#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}}} }} }}{{#if:{{{highest height|}}}|{{#vardefine:summit|{{{highest height}}} }} }}<!--end of op codes--> | |||
| | |||
|[[{{#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--> | |||
|- | |- | ||
! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}} | ! colspan=2 style="background: white; text-align: center; font-size: 100%;" {{!}} | ||
{{#var: | {{#var:headtag}} | ||
|- class="note" | |- class="note" | ||
{{#if: {{{picture<includeonly>|</includeonly>}}} | | {{#if: {{{picture<includeonly>|</includeonly>}}} | | ||
Line 60: | Line 38: | ||
{{!}} {{{main settlement}}} }} | {{!}} {{{main settlement}}} }} | ||
|- | |- | ||
| colspan="2" style="background: #D0F0C0; text-align: center;"|'''Location''' | |colspan="2" style="background: #D0F0C0; text-align: center;"|'''Location''' | ||
|- | |- | ||
{{#if: {{{map<includeonly>|</includeonly>}}} | | {{#if: {{{map<includeonly>|</includeonly>}}} | | ||
! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} | ! colspan=2 style="background: white; text-align: center; font-size: 85%;" {{!}} | ||
[[File:{{{map}}}|240px]]}} | [[File:{{{map}}}|240px|{{map caption}}]]}} | ||
|- | |- | ||
{{#if: {{{latitude<includeonly>|</includeonly>}}} | | {{#if: {{{latitude<includeonly>|</includeonly>}}} | | ||
Line 82: | Line 60: | ||
{{!}} {{#var:summit}} }} | {{!}} {{#var:summit}} }} | ||
|- | |- | ||
| colspan="2" style="background: #D0F0C0; text-align: center;"|'''Data''' | |colspan="2" style="background: #D0F0C0; text-align: center;"|'''Data''' | ||
|- | |- | ||
{{#if: {{{population<includeonly>|</includeonly>}}} | | {{#if: {{{population<includeonly>|</includeonly>}}} | |
Revision as of 17:02, 24 August 2012
Infobox island{{#vardefine:archipel| | |
[[]] | |
---|---|
[[File:{{{picture}}}|240px]] {{{picture caption}}} | |
Main town: | {{{main town}}} |
Main village: | {{{main village}}} |
Main settlement: | {{{main settlement}}} |
Location | |
[[File:{{{map}}}|240px|Template:Map caption]] | |
Location: | {{{latitude}}} {{{longitude}}} |
Grid reference: | Expression error: Unexpected < operator.&y=Expression error: Unexpected < operator.&z=120 {{{os grid ref}}} |
Area: | {{{area}}} |
Data | |
Population: | {{{population}}} |
Website: | {{{website}}} |