Templat:Infobox Pulau Scotland

Daripada Wikipedia, ensiklopedia bebas.
Lompat ke: pandu arah, cari
Infobox Pulau Scotland
Lokasi
[[Image:{{{Map}}}|240px]]
Rujukan grid OS {{{GridReference}}}
Koordinat {{{coordinates}}}
Flag of Scotland.svg Lymphad3.svg
Jika ditunjukkan, kawasan dan kedudukan penduduk adalah untuk semua pulau di Scotland
Documentation icon Pendokumenan templat[lihat] [sunting] [sejarah] [nyahcache]


Parameters[sunting | sunting sumber]

Expected minimum parameters[sunting | sunting sumber]

{{Infobox Pulau Scotland
| GridReference=
| area= 
| highest elevation= 
| Population= 
| island group=
| local authority=
| references=
}}


Optional parameters[sunting | sunting sumber]

| Image=
| ImageCaption=
| Map=
| official_name=
| latitude=
| longitude=
| caption=
| celtic name=
| gaelic pronunciation=
| norse name=
| meaning of name=
| area rank= 
| population rank=
| population density=
| main settlement=


Full list of parameters[sunting | sunting sumber]

{{Infobox Pulau Scotland
| Image=          <!-- just the image name "File:" or "Image:" prefix is not required -->
| ImageCaption=
| Map=
| official_name=
| latitude=       <!-- decimal degrees -->
| longitude= -    <!-- negative for West -->
| GridReference=
| caption=   <!--default: xx shown within Scotland-->
| celtic name= 
| gaelic pronunciation=
| norse name=
| meaning of name=
| area=   {{convert||ha|sqmi|2}}
| area rank= 
| highest elevation=  {{convert||m|ft|0}} 
| Population=     <!-- 2001 Census -->
| population rank=
| population density=
| main settlement=
| island group=
| local authority=
| references=<ref>2001 UK Census per [[List of islands of Scotland]]</ref><ref name=Smith>{{Haswell-Smith}}</ref>
<ref>[http://www.ordnancesurvey.co.uk/ Ordnance Survey]</ref>
}}

Automated features[sunting | sunting sumber]

  • Using latitude and longitude 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.
  • GridReference will link using {{coord}} with display=inline,title.
  • The map caption becomes "{{PAGENAME}} shown within Scotland" unless caption=xxx is set.

Microformat[sunting | sunting sumber]

The HTML mark up produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates[sunting | sunting sumber]

If the place or venue has an "established", "founded", "opened" or similar date, use {{Start date}} (unless the date is before 1583 CE).

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes[sunting | sunting sumber]

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes; nor collapse nested elements which use them.

Precision[sunting | sunting sumber]

When giving coordinates, please use an appropriate level of precision. Do not use {{Coord}}'s |name= parameter.