Difference between revisions of "Template:Infobox Scottish island/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rob984
imported>CanadianToast
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
  
 
This template is intended to be used as an infobox for an island or an archipelago in Scotland.
 
This template is intended to be used as an infobox for an island or an archipelago in Scotland.
Line 21: Line 22:
 
| celtic name={{{celtic name}}}
 
| celtic name={{{celtic name}}}
 
| gaelic pronunciation={{{gaelic pronunciation}}}
 
| gaelic pronunciation={{{gaelic pronunciation}}}
 +
| scots name={{{scots name}}}
 
| norse name={{{norse name}}}
 
| norse name={{{norse name}}}
 
| meaning of name={{{meaning of name}}}
 
| meaning of name={{{meaning of name}}}
Line 46: Line 48:
 
}}
 
}}
 
</pre>
 
</pre>
 
  
 
===Optional parameters===
 
===Optional parameters===
Line 53: Line 54:
 
| celtic name=
 
| celtic name=
 
| gaelic pronunciation=
 
| gaelic pronunciation=
 +
| scots name=
 
| norse name=
 
| norse name=
 
| meaning of name=
 
| meaning of name=
Line 79: Line 81:
 
| celtic name=  
 
| celtic name=  
 
| gaelic pronunciation=
 
| gaelic pronunciation=
 +
| scots name=
 
| norse name=
 
| norse name=
 
| meaning of name=
 
| meaning of name=
Line 122: Line 125:
 
{{UF-hcard-geo}}
 
{{UF-hcard-geo}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
== Tracking category ==
 +
* {{clc|Pages using infobox Scottish island with unknown parameters}}
 +
 
 +
{{Template reference list}}
 +
 
 +
<includeonly>{{Sandbox other||
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
 
<!-- ADD CATEGORIES BELOW THIS LINE -->
[[Category:United Kingdom subdivision infobox templates|Scottish island]]
+
[[Category:United Kingdom place infobox templates|Scottish island]]
 
[[Category:WikiProject Scottish Islands]]
 
[[Category:WikiProject Scottish Islands]]
 
+
[[Category:Templates that add a tracking category]]
<!-- ADD INTERWIKIS BELOW THIS LINE -->
 
[[ja:Template:Infobox Scottish island]]
 
[[mk:Шаблон:Инфокутија Шкотски остров]]
 
[[zh:Template:Infobox Scottish island]]
 
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 22:04, 14 October 2020

This template is intended to be used as an infobox for an island or an archipelago in Scotland.

Parameters

{{{official_name}}}
Scottish Gaelic name{{{celtic name}}}
Pronunciation{{{gaelic pronunciation}}}
Scots name{{{scots name}}}
Old Norse name{{{norse name}}}
Meaning of name{{{meaning of name}}}
[[File:{{{image_flag}}}|border|center|125px]]
{{{flag_caption}}}
[[File:{{{image_coat}}}|center|80px]]
{{{coat_caption}}}
[[File:{{{Image}}}|255px|border|{{{ImageCaption}}}]]
{{{ImageCaption}}}
Location
[[File:{{{Map}}}|255px]]
{{{MapCaption}}}
OS grid reference{{{GridReference}}}
Physical geography
Island group{{{island group}}}
Area{{{area km2}}} or {{{area sqm}}} or {{{area m2}}} or {{{area sqft}}} or {{{area acre}}} or {{{area ha}}} or {{{area}}}
Area rank{{{area rank}}} [1]
Highest elevation{{{highest elevation}}}
Administration
Sovereign stateUnited Kingdom
CountryScotland
Council area{{{local authority}}}
Demographics
Population{{{Population}}}
Population rank{{{population rank}}} [1]
Population density{{{density km2}}} or {{{density sqmi}}} or {{{population density}}}
Largest settlement{{{main settlement}}}
Lymphad
References{{{references}}}

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=xxx is set.

Microformat

Template:UF-hcard-geo

Tracking category

References

  1. 1.0 1.1 Area and population ranks: there are c. 300 islands over 20 ha in extent and 93 permanently inhabited islands were listed in the 2011 census.