Template:Infobox island: Difference between revisions

From Wikishire
Jump to navigation Jump to search
RB (talk | contribs)
mNo edit summary
RB (talk | contribs)
Undoing a bit
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: {{{norse| }}}| <br>{{lang|non|{{{norse}}} }} }}<!--Op codes here
|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: {{{norse| }}}| <br>{{lang|non|{{{norse}}} }} }}<!--Op codes here
-->{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}{{#vardefine:archipel|0}}{{#if:{{{group|}}}|{{#vardefine:archipel|{{{group}}} }}{{#switch:{{{group}}}
-->{{#if: {{{county| }}}|{{#vardefine:shire|{{namefix|{{{county}}}}}}}}}{{#if: {{{bailiwick| }}}|{{#vardefine:shire|{{namefix|{{{bailiwick}}}}}}}}}{{#if: {{{territory| }}}|{{#vardefine:shire|{{namefix|{{{territory}}}}}}}}}{{#vardefine:archipel|0}}{{#if:{{{group|}}}|{{#vardefine:archipel|{{namefix|{{{group}}} }} }}{{#switch:{{namefix|{{{group}}} }}
|Orkney={{#vardefine:shire|Orkney}}
|Orkney={{#vardefine:shire|Orkney}}
|Shetland={{#vardefine:shire|Shetland}}
}} }}{{#switch:{{#var:shire}}
|Orkney={{#vardefine:archipel|Orkney}}
|Shetland={{#vardefine:shire|Shetland}}
|Shetland={{#vardefine:shire|Shetland}}
|South Georgia
|South Georgia
|South Sandwich Islands={{#vardefine:shire|South Georgia and the South Sandwich Islands}}
|South Sandwich Islands={{#vardefine:shire|South Georgia and the South Sandwich Islands}}
}} }}{{#switch:{{#var:shire}}
|Orkney={{#vardefine:archipel|Orkney}}
|Shetland={{#switch:{{{group}}}
|Out Skerries={{#vardefine:archipel|Out Skerries}}
|{{#vardefine:archipel|Shetland}}}}
|Bailiwick of Jersey={{#vardefine:archipel|Bailiwick of Jersey}}
|Bailiwick of Jersey={{#vardefine:archipel|Bailiwick of Jersey}}
|Bailiwick of Guernsey={{#vardefine:archipel|Bailiwick of Guernsey}}
|Bailiwick of Guernsey={{#vardefine:archipel|Bailiwick of Guernsey}}
Line 60: Line 58:
{{!}} {{{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>}}} |
Line 82: Line 80:
{{!}} {{#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:25, 10 July 2012

Infobox island

[[]]

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

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

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}}}

Template:Infobox island/doc