Difference between revisions of "Template:Infobox Scottish island"
Jump to navigation
Jump to search
imported>Ben MacDui (popn rank "out of 97" - removing Forewick Holm) |
imported>Thumperward (de-cruft syntax) |
||
| Line 1: | Line 1: | ||
| − | + | {| class="infobox vcard" style="font-size: 88%; width: 22em" | |
| − | ! | + | ! colspan=2 class="fn org" style="text-align: center; font-size: 125%" | {{{official_name|{{PAGENAME}} }}} |
|- | |- | ||
| − | |- style=" | + | {{#if:{{{Image|}}}| |
| + | {{!}} colspan=2 style="text-align: center" {{!}} [[file:{{{Image}}}{{!}}200px{{!}}border]] | ||
| + | {{!}}- | ||
| + | }} | ||
| + | ! colspan=2 style="background-color: #efefef" | Location | ||
|- | |- | ||
| − | {{#if:{{{ | + | {{#if:{{{Map|<noinclude>-</noinclude>}}} | |
| − | {{!}}colspan= | + | {{!}} colspan=2 style="text-align: center" {{!}} [[Image:{{{Map|}}}|115px|none|{{{MapCaption|}}}]] |
| − | {{ | + | {{!}}- |
| − | !colspan= | + | {{#if:{{{MapCaption|}}}| |
| − | {{ | + | {{!}} colspan=2 style="text-align: center" {{!}} {{{MapCaption|}}} |
{{!}}- | {{!}}- | ||
| − | + | }} | |
| − | + | }} | |
{{#if: {{{latitude|}}}| | {{#if: {{{latitude|}}}| | ||
| + | {{!}} colspan=2 style="text-align: center" {{!}} {{Location map|Scotland|label={{#if: {{{official_name|}}}|{{{official_name}}}|{{PAGENAME}}}}|lat={{{latitude}}}|long={{{longitude}}}|width=200|float=center|caption=}} | ||
{{!}}- | {{!}}- | ||
| − | {{!}}colspan= | + | {{!}} colspan=2 style="text-align: center" {{!}} ''{{#if: {{{official_name|}}}|{{{official_name}}}|{{PAGENAME}}}} shown within Scotland.'' |
{{!}}- | {{!}}- | ||
| − | |||
}} | }} | ||
|- class="note" | |- class="note" | ||
| − | |[[British national grid reference system|OS grid reference]]: | + | | [[British national grid reference system|OS grid reference]]: |
| + | | {{gbmapscaled|{{{GridReference}}}|25|{{{GridReference}}}}} | ||
|- | |- | ||
{{#if: {{{coordinates<includeonly>|</includeonly>}}} | | {{#if: {{{coordinates<includeonly>|</includeonly>}}} | | ||
{{!}} [[Geographic coordinate system|Coordinates]]: | {{!}} [[Geographic coordinate system|Coordinates]]: | ||
{{!}} {{{coordinates}}} | {{!}} {{{coordinates}}} | ||
| + | {{!}}- | ||
}} | }} | ||
| + | ! colspan=2 style="background-color: #efefef" | Names | ||
| + | |- | ||
| + | | style="width: 50%" | [[Scottish Gaelic language|Gaelic]] name: | ||
| + | | class="note" | {{{celtic name}}} | ||
|- | |- | ||
| − | |||
| − | |||
| − | |||
| − | |||
{{#if:{{{norse name|}}}| | {{#if:{{{norse name|}}}| | ||
| − | + | {{!}} [[Old Norse|Norse]] name: | |
| − | {{!}}[[Old Norse|Norse]] name: | + | {{!}} class="note" {{!}} {{{norse name}}} |
| − | {{!}} {{{norse name}}}}} | + | {{!}}- |
| + | }} | ||
{{#if:{{{meaning of name|}}}| | {{#if:{{{meaning of name|}}}| | ||
| − | {{!}} | + | {{!}} Meaning of name: |
| − | {{!}} | + | {{!}} class="note" {{!}} {{{meaning of name}}} |
| − | {{!}} {{{meaning of name}}}}} | + | {{!}}- |
| − | + | }} | |
| + | ! colspan=2 style="background-color: #efefef" | Area and Summit | ||
| + | |- | ||
| + | | Area: | ||
| + | | class="note" | {{{area}}} | ||
|- | |- | ||
| − | |||
| − | |||
| − | |||
{{#if:{{{area rank|}}}| | {{#if:{{{area rank|}}}| | ||
| + | {{!}} Area rank: | ||
| + | {{!}} {{{area rank}}} | ||
{{!}}- | {{!}}- | ||
| − | + | }} | |
| − | + | | Highest elevation: | |
| − | + | | {{{highest elevation}}} | |
| − | |Highest elevation: | + | |- |
| − | |- style=" | + | ! colspan=2 style="background-color: #efefef" | Population |
| + | |- | ||
| + | | [[Demographics of Scotland|Population]] (2001): | ||
| + | | class="note" | {{{Population}}} | ||
|- | |- | ||
| − | |||
| − | |||
| − | |||
{{#if:{{{population rank|}}}| | {{#if:{{{population rank|}}}| | ||
| + | {{!}} Population rank: | ||
| + | {{!}} {{{population rank}}} out of 97 | ||
{{!}}- | {{!}}- | ||
| − | + | }} | |
| − | |||
{{#if:{{{main settlement|}}}| | {{#if:{{{main settlement|}}}| | ||
| − | {{!}} | + | {{!}} Main settlement: |
| − | {{!}} | + | {{!}} class="note" {{!}} {{{main settlement}}} |
| − | {{!}} {{{main settlement}}}}} | + | {{!}}- |
| + | }} | ||
| + | |- style="vertical-align: top" | ||
| + | |- | ||
| + | ! colspan=2 style="background-color: #efefef" | Groupings | ||
|- | |- | ||
| − | | | + | | Island Group: |
| + | | class="note" | {{{island group}}} | ||
|- | |- | ||
| − | + | | [[Subdivisions of Scotland|Local Authority:]] | |
| − | + | | class="note" | {{{local authority}}} | |
| − | |||
| − | |||
| − | |[[Subdivisions of Scotland|Local Authority:]]|| {{{local authority}}} | ||
|- | |- | ||
| − | !colspan= | + | ! colspan=2 style="background-color: #efefef" | [[Image:Flag of Scotland.svg|40px|Scotland]] [[Image:Lymphad3.svg|50px|]] |
|- | |- | ||
| − | |<small>References:</small> | + | | <small>References:</small> |
| + | | <small>{{{references}}}</small> | ||
|- | |- | ||
| − | ! | + | ! colspan=2 style="text-align: center" | <small>If shown, area and population ranks are for all Scottish islands and all inhabited Scottish islands respectively.</small> |
| − | |}<noinclude> | + | |}<noinclude>{{template doc}}<!-- Please put categories ans interwikis on the /doc subpage --></noinclude> |
| − | {{template doc}} | ||
| − | <!-- Please put categories ans interwikis on the /doc subpage --> | ||
| − | </noinclude> | ||
Revision as of 09:52, 7 August 2009
| Infobox Scottish island | |
|---|---|
| Location | |
| [[Image:|115px|none|]] | |
| OS grid reference: | Template:OS coord |
| Coordinates: | {{{coordinates}}} |
| Names | |
| Gaelic name: | {{{celtic name}}} |
| Area and Summit | |
| Area: | {{{area}}} |
| Highest elevation: | {{{highest elevation}}} |
| Population | |
| Population (2001): | {{{Population}}} |
| Groupings | |
| Island Group: | {{{island group}}} |
| Local Authority: | {{{local authority}}} |
| References: | {{{references}}} |
| If shown, area and population ranks are for all Scottish islands and all inhabited Scottish islands respectively. | |
| This template uses Lua: |
This template is intended to be used as an infobox for an island or an archipelago in Scotland.
Contents
Parameters
| {{{official_name}}} | |
|---|---|
| [[file:{{{Image}}}|200px|border]] | |
| Location | |
| [[Image:{{{Map}}}|115px|none|{{{MapCaption}}}]] | |
| {{{MapCaption}}} | |
| OS grid reference: | Template:OS coord |
| Names | |
| Gaelic name: | {{{celtic name}}} |
| Norse name: | {{{norse name}}} |
| Meaning of name: | {{{meaning of name}}} |
| Area and Summit | |
| Area: | {{{area km2}}} or {{{area sqm}}} or {{{area m2}}} or {{{area sqft}}} or {{{area acre}}} or {{{area ha}}} or {{{area}}} |
| Area rank: | {{{area rank}}} |
| Highest elevation: | {{{highest elevation}}} |
| Population | |
| Population (2001): | {{{Population}}} |
| Population rank: | {{{population rank}}} out of 97 |
| Main settlement: | {{{main settlement}}} |
| Groupings | |
| Island Group: | {{{island group}}} |
| Local Authority: | {{{local authority}}} |
| References: | {{{references}}} |
| If shown, area and population ranks are for all Scottish islands and all inhabited Scottish islands respectively. | |
Expected minimum parameters
{{Infobox Scottish island
| GridReference=
| island group=
| area km2= <!--or |area sqmi= or |area m2= or |area sqft= or |area acre= or |area ha= or |area=-->
| highest elevation=
| local authority=
| Population= <!-- 2011 Census -->
| references=
}}
Optional parameters
| official_name=
| celtic name=
| gaelic pronunciation=
| scots name=
| norse name=
| meaning of name=
| image_flag=
| flag_caption=
| image_coat=
| coat_caption=
| Image= <!-- just the image name "File:" or "Image:" prefix is not required -->
| ImageCaption=
| Map=
| MapCaption=
| location_map= <!-- To select an alternative map eg "Scotland Orkney", defaults to Scotland -->
| caption= <!--default: xx shown within Scotland-->
| coordinates = <!-- Use {{Coord}} -->
| area rank=
| population rank=
| density km2= <!--or | density sqmi= or | population density=-->
| main settlement=
Full list of parameters
{{Infobox Scottish island
<!--Names-->
| official_name=
| celtic name=
| gaelic pronunciation=
| scots name=
| norse name=
| meaning of name=
<!--Symbols-->
| image_flag=
| flag_caption=
| image_coat=
| coat_caption=
<!--Image-->
| Image= <!-- just the image name "File:" or "Image:" prefix is not required -->
| ImageCaption=
<!--Location-->
| Map=
| MapCaption=
| location_map= <!-- To select an alternative map eg "Scotland Orkney", defaults to Scotland -->
| caption= <!--default: xx shown within Scotland-->
| coordinates = <!-- Use {{Coord}} -->
| GridReference=
<!--Geography-->
| island group=
| area km2= 923 <!--or |area m2= or |area ha= |area=-->
| area rank=
| highest elevation= {{convert|336|m|ft|0}}
<!--Polities-->
| local authority=
<!--Demographics-->
| Population= 37,872 <!-- 2011 Census -->
| population rank= 1
| density km2= <!--or | density sqmi= or | population density=-->
| main settlement= Brodick
<!--Footer-->
| references=<ref>{{NRS1C}}</ref><ref name=Smith>{{Haswell-Smith}}</ref>
<ref>[http://www.ordnancesurvey.co.uk/ Ordnance Survey]</ref>
}}
Automated features
- Using
|coordinates=will produce a captioned map of Scotland with the location marked and labelled. - The parameter
|official_name=will replace {{PAGENAME}} as the map heading, label, and in the caption. - The map caption becomes "{{PAGENAME}} shown within Scotland" unless
|caption=xxxis set.
Microformat
Tracking category
References
| The above documentation is transcluded from Template:Infobox Scottish island/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |