Difference between revisions of "Template:Infobox island"

From Wikishire
Jump to: navigation, search
(Options for town / village)
m (Fix?)
Line 38: Line 38:
 
{{#if: {{{population<includeonly>|</includeonly>}}} |
 
{{#if: {{{population<includeonly>|</includeonly>}}} |
 
! style="background: #D0F0C0;" {{!}} Population:
 
! style="background: #D0F0C0;" {{!}} Population:
{{!}} {{{population}}} {{#if: {{{census year<includeonly>|</includeonly>}}}<small>&nbsp''({{{census year}}})''</small>}} }}
+
{{!}} {{{population}}} {{#if: {{{census year}}}|&nbsp<small>''({{{census year}}})''</small>}} }}
 
<!-- |-
 
<!-- |-
 
{{#if: {{{post town<includeonly>|</includeonly>}}} |
 
{{#if: {{{post town<includeonly>|</includeonly>}}} |
Line 56: Line 56:
 
{{!}} {{{website}}} }}
 
{{!}} {{{website}}} }}
 
|}<includeonly>
 
|}<includeonly>
{{#if:{{{group|}}}|{{#switch:{{namefix|{{{group}}}}}|Orkney=[[Category:Orkney]]|Shetland=[[Category:Shetland]]|Isles of Scilly=[[Isles of Scilly]]|[[Category:{{namefix|{{{group}}}}}]]}}|{{#if:{{{county|}}}[[Category:Islands of {{namefix|{{{county}}}}}]]}} }}
+
{{#if:{{{group|}}}|{{#switch:{{namefix|{{{group}}}}}|Orkney=[[Category:Orkney]]|Shetland=[[Category:Shetland]]|Isles of Scilly=[[Isles of Scilly]]|[[Category:{{namefix|{{{group}}}}}]]}}|{{#if:{{{county|}}}|[[Category:Islands of {{namefix|{{{county}}}}}]]}} }}
 
</includeonly><noinclude>{{Infobox island/doc}}</noinclude>
 
</includeonly><noinclude>{{Infobox island/doc}}</noinclude>

Revision as of 18:55, 3 January 2011

Infobox island

{{{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}}} &nbsp({{{census year}}})
Website: {{{website}}}
Template:Infobox island/doc