Шаблон:Мероси ҷаҳонии ЮНЕСКО/doc
Syntax
вироиш{{Infobox World Heritage Site | WHS = <!-- name as inscribed on the World Heritage List --> | image = <!-- optional --> | caption = <!-- optional --> | Location = <!-- optional --> | Type = <!-- Cultural, Natural or Mixed --> | Criteria = | ID = | Link = <!-- optional --> | Region = | Coordinates = <!-- optional; use {{coord}} --> | Year = | Session = <!-- optional --> | Extension = <!-- optional --> | Danger = <!-- optional --> | locmapin = <!-- optional --> | map_caption = <!-- optional --> | map_width = <!-- optional --> | relief = <!-- "1" for relief map - if available --> | latitude = <!-- optional --> | longitude = <!-- optional --> | lat_degrees = | lat_minutes = | lat_seconds = | lat_direction = <!-- optional --> | long_degrees = | long_minutes = | long_seconds = | long_direction = <!-- optional --> | child = <!-- optional; set to "yes" to embed this infobox within another infobox --> | embedded = <!-- optional; use to embed another infobox template within this one, e.g. {{Infobox mountain}} --> }}
Notes
вироишAfrica | encompassing Sub-Saharan Africa |
Arab States | Northern Africa and the Middle East |
Asia-Pacific | Asia and Oceania |
Europe and North America | Europe, Canada, USA |
Latin America and the Caribbean | entire Western Hemisphere minus Canada and the USA |
Coordinates
вироишFor coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.
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, please see the microformat project.
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.
Examples
вироиш- Example 1
Унсури Викидода мавҷуд нест |
This example has no image:
{{Infobox World Heritage Site | WHS = Kathmandu Valley | Location = [[Nepal]] | Type = Cultural | Criteria = iii, iv, vi | ID = 121 | Region = Asia-Pacific | Year = 1979 | Danger = since 2003 | Extension = 2006 }}
- Example 2
Унсури Викидода мавҷуд нест |
This example uses an image of width 270px:
{{Infobox World Heritage Site | WHS = Kathmandu Valley | Image = [[File:Basantapurpalace.JPG|270px|The Kathmandu Darbar Square]] | Location = [[Nepal]] | Type = Cultural | Criteria = iii, iv, vi | ID = 121 | Region = Asia-Pacific | Year = 1979 | Danger = since 2003 | Extension = 2006 }}
- Example 3
Унсури Викидода мавҷуд нест |
This example uses an image width of 230px:
{{Infobox World Heritage Site | WHS = Kathmandu Valley | Image = [[File:Basantapurpalace.JPG|230px|The Kathmandu Darbar Square]] | Location = [[Nepal]] | Type = Cultural | Criteria = iii, iv, vi | ID = 121 | Region = Asia-Pacific | Year = 1979 | Danger = since 2003 | Extension = 2006 | locmapin = Nepal | relief = 1 | latitude = 27.704 | longitude = 85.309 | map_caption = Location in Nepal }}
Template Data
вироишAn Infobox for World Heritage Sites
Параметр | Тавзеҳот | Type | Status | |
---|---|---|---|---|
Name | WHS Name | name as inscribed on the World Heritage List | String | required |
Image | image Image | An image of the site | String | optional |
Caption | caption Caption imagecaption | The image caption | String | optional |
Location | Location | Location of the site | String | optional |
Type | Type | The designated type: Cultural, Natural or Mixed | String | required |
Criteria | Criteria | The designated criteria i, ... ix or x | String | required |
ID | ID | The reference number | Number | required |
Region | Region | The UNESCO region: Africa, Arab States, Asia-Pacific, Asia and Oceania, Europe and North America, Latin America and the Caribbean | String | required |
Link | Link | A link, only used if no ID | String | optional |
Coordinates | Coordinates | Use the {{coord}} template with display=inline, do not be overly precise. | String | optional |
Year | Year | Year site was listed | String | optional |
Session | Session | Session site was inscribed: 1st – 40th | String | optional |
Extension | Extension | Extension | String | optional |
Danger | Danger | Period site has been in danger | String | optional |
Location map | locmapin | Name of Location map to use, typically a country name | String | optional |
Map caption | map_caption | Caption to use with the map | String | optional |
Map width | map_width | Width of displayed the map | Number | optional |
Relief | relief | Use '1' for relief map - if available | Number | optional |
Latitude | latitude | latitude in decimal format, negative for south | Number | optional |
Longitude | longitude | longitude in decimal format, negative for west | Number | optional |
Latitude degree | lat_degrees | degrees part of latitude, alternative to latitude | Number | optional |
Latitude minutes | lat_minutes | minutes part of latitude, alternative to latitude | Number | optional |
Latitude seconds | lat_seconds | seconds part of latitude, alternative to latitude | Number | optional |
Latitude direction | lat_direction | direction part of latitude: N or S | Number | optional |
Longitude degree | long_degrees | degrees part of longitude, alternative to longitude | Number | optional |
Longitude minutes | long_minutes | minutes part of longitude, alternative to longitude | Number | optional |
Longitude seconds | long_seconds | seconds part of longitude, alternative to longitude | Number | optional |
Longitude direction | long_direction | direction part of longitude: E or W | Number | optional |
Child | child | set to 'yes' to embed this infobox within another infobox | String | optional |
Embedded | embedded | Use to embed another infobox template within this one, e.g. {{Infobox mountain}} | String | optional |