Template:Infobox UNESCO World Heritage Site/doc

Pre-loading Wikidata values
The listing below proposes to import Wikidata values (called "claims" at Wikidata) and convert them to static local data, with the subst: technique.

Pre-loading Wikidata values in this fashion would often be unsuccessful due to failing Wikidata claims for the item: it is up to the editor importing the claims to check whether the claim is correct and appropriate for the infobox.

The preload-list can be used for a first implementation of this template in an article. Separate parameter substitutions can be used to complement incomplete parameter sets in a previously implemented infobox.

Examples

 * Example 1:

This example has no image:


 * Example 2:

This example uses an image of width 270px, and the alt and caption parameters:


 * Example 3:

This example uses the default image width, and a location map:


 * Example 4:

This example uses an embedded template for the location map, allowing an unlimited number of clickable locations:

Microformat
{ "description": "An Infobox for World Heritage Sites", "params": { "WHS": { "label": "Name", "description": "name as inscribed on the World Heritage List", "type": "string", "required": true, "aliases": [ "Name" ] }, "image": { "label": "Image", "description": "An image of the site", "type": "string", "required": false, "aliases": [ "Image" ] }, "caption": { "label": "Caption", "description": "The image caption", "type": "string", "required": false, "aliases": [ "Caption", "imagecaption" ] }, "Location": { "label": "Location", "description": "Location of the site", "type": "string", "required": false }, "Criteria": { "label": "Criteria", "description": "The designated criteria i, ... ix or x", "type": "string", "required": true }, "ID": { "label": "ID", "description": "The reference number", "type": "number", "required": true }, "Link": { "label": "Link", "description": "A link, only used if no ID", "type": "string", "required": false }, "Coordinates": { "label": "Coordinates", "description": "Use the °N, °W template with display=inline, do not be overly precise.", "type": "string", "required": false, "aliases": ["coordinates"] }, "Year": { "label": "Year", "description": "Year site was listed", "type": "string", "required": false }, "Session": { "label": "Session", "description": "Session site was inscribed: 1st – 40th", "type": "string", "required": false }, "Extension": { "label": "Extension", "description": "Extension", "type": "string", "required": false }, "Danger": { "label": "Danger", "description": "Period site has been in danger", "type": "string", "required": false }, "locmapin": { "label": "Location map", "description": "Name of Location map to use, typically a country name", "type": "string", "required": false }, "map_caption": { "label": "Map caption", "description": "Caption to use with the map", "type": "string", "required": false }, "map_width": { "label": "Map width", "description": "Width of displayed the map", "type": "number", "required": false }, "relief": { "label": "Relief", "description": "Use '1' for relief map - if available", "type": "number", "required": false }, "child": { "label": "Child", "description": "set to 'yes' to embed this infobox within another infobox", "type": "string", "required": false }, "embedded": { "label": "Embedded", "description": "Use to embed another infobox template within this one, e.g. ", "type": "string", "required": false } } }