ढाँचा:Infobox World Heritage Site/doc

स्वतन्त्र विश्वकोश, नेपाली विकिपिडियाबाट
Jump to navigation Jump to search

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[सम्पादन गर्ने]

  • For Region, use the following UNESCO classifications[१]:
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 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.

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

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.

When giving coordinates, please don't be overly precise.

Examples[सम्पादन गर्ने]

Example 1
Kathmandu Valley
युनेस्को विश्व सम्पदा क्षेत्र
रहेको स्थानNepal
मापदण्डCultural: iii, iv, vi
सन्दर्भ121
शिलालेख1979 (3औँ Session)
जोडिएको भाग2006
खतरापूर्णsince 2003

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
Kathmandu Valley
युनेस्को विश्व सम्पदा क्षेत्र
The Kathmandu Darbar Square
The Kathmandu Darbar Square
रहेको स्थानNepal
मापदण्डCultural: iii, iv, vi
सन्दर्भ121
शिलालेख1979 (3औँ Session)
जोडिएको भाग2006
खतरापूर्णsince 2003

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
Kathmandu Valley
युनेस्को विश्व सम्पदा क्षेत्र
The Kathmandu Darbar Square
रहेको स्थानNepal
मापदण्डCultural: iii, iv, vi
सन्दर्भ121
शिलालेख1979 (3औँ Session)
जोडिएको भाग2006
खतरापूर्णsince 2003
Lua error in मोड्युल:Location_map at line 384: longitude-यसकै लागि DMS डिग्रीसँग मिनेट प्रदान गर्न सकिन्छ.

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

Template parameters

Parameterविवरणप्रकारस्थिति
NameWHS Name

name as inscribed on the World Heritage List

Stringrequired
Imageimage Image

An image of the site

Stringवैकल्पिक
Captioncaption Caption imagecaption

The image caption

Stringवैकल्पिक
LocationLocation

Location of the site

Stringवैकल्पिक
TypeType

The designated type: Cultural, Natural or Mixed

Stringrequired
CriteriaCriteria

The designated criteria i, ... ix or x

Stringrequired
IDID

The reference number

Numberrequired
RegionRegion

The UNESCO region: Africa, Arab States, Asia-Pacific, Asia and Oceania, Europe and North America, Latin America and the Caribbean

Stringrequired
LinkLink

A link, only used if no ID

Stringवैकल्पिक
CoordinatesCoordinates

Use the {{coord}} template with display=inline, do not be overly precise.

Stringवैकल्पिक
YearYear

Year site was listed

Stringवैकल्पिक
SessionSession

Session site was inscribed: 1st – 40th

Stringवैकल्पिक
ExtensionExtension

Extension

Stringवैकल्पिक
DangerDanger

Period site has been in danger

Stringवैकल्पिक
Location maplocmapin

Name of Location map to use, typically a country name

Stringवैकल्पिक
Map captionmap_caption

Caption to use with the map

Stringवैकल्पिक
Map widthmap_width

Width of displayed the map

Numberवैकल्पिक
Reliefrelief

Use '1' for relief map - if available

Numberवैकल्पिक
Latitudelatitude

latitude in decimal format, negative for south

Numberवैकल्पिक
Longitudelongitude

longitude in decimal format, negative for west

Numberवैकल्पिक
Latitude degreelat_degrees

degrees part of latitude, alternative to latitude

Numberवैकल्पिक
Latitude minuteslat_minutes

minutes part of latitude, alternative to latitude

Numberवैकल्पिक
Latitude secondslat_seconds

seconds part of latitude, alternative to latitude

Numberवैकल्पिक
Latitude directionlat_direction

direction part of latitude: N or S

Numberवैकल्पिक
Longitude degreelong_degrees

degrees part of longitude, alternative to longitude

Numberवैकल्पिक
Longitude minuteslong_minutes

minutes part of longitude, alternative to longitude

Numberवैकल्पिक
Longitude secondslong_seconds

seconds part of longitude, alternative to longitude

Numberवैकल्पिक
Longitude directionlong_direction

direction part of longitude: E or W

Numberवैकल्पिक
Childchild

set to 'yes' to embed this infobox within another infobox

Stringवैकल्पिक
Embeddedembedded

Use to embed another infobox template within this one, e.g. {{Infobox mountain}}

Stringवैकल्पिक