टेम्पलेट:Infobox islands/doc: रिवीजन सभ के बीचा में अंतर

विकिपीडिया से
Content deleted Content added
imported>Jacklee
छो →‎Usage: Tweaked sample template to remove error messages
hiding errors does not make them disappear
लाइन 10: लाइन 10:
|image caption = Tectonic of Sumatra
|image caption = Tectonic of Sumatra
|area = 470,000 km²
|area = 470,000 km²
|highest mount =
|highest mount = [[Mount Kerinci]]
|elevation_m =
|elevation_m = 3805
|location = [[South East Asia]]
|location = [[South East Asia]]
|coordinates = {{coord|0|00|N|102|00|E|region:ID_type:isle|display=inline,title}}
|coordinates = {{coord|0|00|N|102|00|E|region:ID_type:isle|display=inline,title}}

23:00, 7 सितंबर 2008 तक ले भइल बदलाव

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

Usage

टेम्पलेट:Infobox Islands

{{Infobox Islands
| name             = 
| image name       = 
| image caption    = 
| image size       = 
| locator map      = 
| map_custom       = no
| native name      = 
| native name link = 
| nickname         = 
| location         = 
| coordinates      = 
| archipelago      = 
| total islands    = 
| major islands    = 
| area             = 
| length           =
| width            =
| coastline        =
| highest mount    = 
| elevation        = 
| country          = 
| country admin divisions title     = 
| country admin divisions           = 
| country admin divisions title 1   = 
| country admin divisions 1         = 
| country admin divisions title 2   = 
| country admin divisions 2         = 
| country capital                   = 
| country largest city              = 
| country largest city population   = 
| country leader title              = 
| country leader name               = 
| country 1                         = 
| country 1 admin divisions title   = 
| country 1 admin divisions         = 
| country 1 capital city            = 
| country 1 largest city            = 
| country 1 largest city population = 
| country 1 leader title            = 
| country 1 leader name             = 
| country 2                         = 
| country 2 admin divisions title   = 
| country 2 admin divisions         = 
| country 2 capital city            = 
| country 2 largest city            = 
| country 2 largest city population = 
| country 2 leader title            = 
| country 2 leader name             = 
| population       = 
| population as of = 
| density          = 
| ethnic groups    = 
| additional info  =
}}

Parameters

Mandatory

  • name = the official name (without the word island)
  • location = the sea in which the island is located
  • country = where the island is located. Either specify the standard three-letter ISO 3166-1 alpha-3 code for the country, or a name by which the country is commonly known (e.g., "US", "South Korea", "Democratic People's Republic of Korea"). As this parameter makes use of the {{flag}} template, do not wikilink the country name like this: "[[Indonesia]]". (See {{flag}} for more information.) If the island is shared, then use "country 1" and "country 2" and list them alphabetically.

Optional

  • image name = locator/satellite/other map image (without the prefix "Image:")
  • image caption = caption for the image
  • image size = size of the image in pixels (e.g., "100px")
  • locator map = a locator map image (without the prefix "Image:") if there is one separate from the image used for the parameter "image name"
    • Add map_custom=yes to use maps with complex syntax, such as those created with {{location map}}; will not add "Image:" to locator map.
  • native name = only when the common name is different from the native name
  • native name link = state the name of a Wikipedia article about the language that the native name of the island is in, e.g., "Indonesian language" for an Indonesian island. Do not wikilink the country name like this: "[[Indonesian language]]".
  • nickname = for a well known nickname
  • coordinates = geographic coordinates: use {{coord}} with the parameter "display=inline,title"
  • archipelago = the name of the group of islands the island belongs to
  • total islands = total number of islands (for archipelagos only)
  • major islands = names of the major islands (for archipelagos only)
  • area = the total area of the island (you may want to use the {{convert}} template)
  • length = length of the island (you may want to use the {{convert}} template)
    • length_km or length_mi = alternatively, state the length in either kilometres or miles without using {{convert}}; the conversion will be done automatically
  • width = width of the island (you may want to use the {{convert}} template)
    • width_km or width_mi = alternatively, state the width in either kilometres or miles without using {{convert}}; the conversion will be done automatically
  • coastline = the length of coastline of the island (you may want to use the {{convert}} template)
    • coastline_km or coastline_mi = alternatively, state the length of the coastline in either kilometres or miles without using {{convert}}; the conversion will be done automatically
  • highest mount = name of the highest point on the island, if any
  • elevation = elevation of the highest point (you may want to use the {{convert}} template)
    • elevation_m or elevation_ft = alternatively, state the height of the highest point in either metres or feet without using {{convert}}; the conversion will be done automatically
  • country admin divisions title = title for the administrative divisions
  • country admin divisions = the administrative divisions that govern the island
  • country admin divisions title 1 = (country admin divisions title 1)
  • country admin divisions 1 = (country admin divisions 1)
  • country admin divisions title 2 = (country admin divisions title 2)
  • country admin divisions 2 = (country admin divisions 2)
  • country capital
  • country largest city
  • country largest city population
  • country leader title
  • country leader name
  • country 1 = (see country)
  • country 1 admin divisions title = (country admin divisions title)
  • country 1 admin divisions = (country admin divisions)
  • country 1 capital city = (country capital city)
  • country 1 largest city = (country largest city)
  • country 1 largest city population = (country largest city population)
  • country 1 leader title
  • country 1 leader name
  • country 2 = (see country)
  • country 2 admin divisions title = (country admin divisions title)
  • country 2 admin divisions = (country admin divisions)
  • country 2 capital city = (country capital city)
  • country 2 largest city = (country largest city)
  • country 2 largest city population = (country largest city population)
  • country 2 leader title
  • country 2 leader name
  • population = the size of the island's population
  • population as of = the year when the population census took place
  • density = the population density of the island, expressed as the number of people per a unit of area
  • ethnic groups = list the major ethnic groups making up the island's population
  • additional info = a space for additional information at the bottom of the infobox

Microformat

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 articles 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.

Sub-templates

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

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • 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

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