ಟೆಂಪ್ಲೇಟು:Infobox ವಿಶ್ವ ಪರಂಪರೆಯ ತಾಣ/doc
| This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Infobox ವಿಶ್ವ ಪರಂಪರೆಯ ತಾಣ. It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
| This template uses Lua: |
Syntax
[ಬದಲಾಯಿಸಿ]{{Infobox UNESCO World Heritage Site
| name = <!-- name as inscribed on the World Heritage List: use with the STAND-ALONE version of this template -->
| official_name = <!-- name as inscribed on the World Heritage List: use ONLY with the embedded version of this template, if it doesn't match the name of the template it is in: see [[Giza pyramid complex]] for an example-->
| image = <!-- optional -->
| image_size = <!-- optional -->
| caption = <!-- optional -->
| part_of = <!-- optional: when the article subject is part of a WHS listing, not a full one, e.g. one church in a series of churches -->
| includes = <!-- optional: when a group of subjects together form this WHS; avoid long listings, in which case it is better to summarize or to omit the parameter altogether-->
| location = <!-- optional -->
| criteria = <!-- Cultural, Natural or Mixed, plus roman numbers -->
| ID =
| link = <!-- optional: custom URL when it differs from the URL generated from ID -->
| coordinates = <!-- optional; use {{coord}} -->
| year =
| extension = <!-- optional -->
| danger = <!-- optional -->
| area = <!-- optional -->
| buffer_zone = <!-- optional -->
| website = <!-- optional -->
| pushpin_map = <!-- 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. {{Location map many}} -->
}}
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.
| several values need to be reformatted after loading with this method, see comments starting with three !!! in the list below |
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.
This list is incomplete; you can help by adding missing items. |
{{Infobox UNESCO World Heritage Site
| child =
| name = {{subst:Wikidata|qualifier|P1435|P1448}}<!-- leave empty, unless for stand-alone infoboxes that need a title different from the article title -->
| image = {{subst:Wikidata|property|P18}}<!-- !!! remove "[[File:" and "]]" wrapping the image name or it is impossible to manage the image size -->
| image_upright = 1.2
| caption = {{subst:Wikidata|qualifier|P18|P2096}}
| official_name = {{subst:Wikidata|qualifier|P1435|P1448}}<!-- leave empty unless the official WHS name is different from the title of the infobox -->
| location = {{subst:Wikidata|properties|linked|P706}}, {{subst:Wikidata|properties|linked|P276}}, {{subst:Wikidata|properties|linked|P131}}, {{subst:Wikidata|property|linked|P17}}, {{subst:Wikidata|property|linked|P30}}<!-- make selection: P17 (country) and possibly P131 (administrative subdivision of country) suffice in most cases -->
| part_of = {{subst:Wikidata|properties|linked|P361}}
| includes = {{subst:Wikidata|properties|linked|P527}}<!--replace by summary if the list of sub-entities is too large or incomplete-->
| criteria = {{UNESCO WHS type|{{subst:Wikidata|properties|P2614}}}}{{subst:Wikidata|properties|P2614}}
| ID = {{subst:Wikidata|property|P757}}
| coordinates = {{subst:Wikidata|property|linked|P625}}<!-- !!! convert to {{coord|...|...|format=dms}} -->
| year = {{subst:Wikidata|qualifier|P1435|P580}}
| extension = {{subst:Wikidata|qualifiers|P793|P585}}
| danger = {{#if: {{subst:Wikidata|qualifiers|P793|P580}}|{{subst:Wikidata|qualifiers|P793|P580}} -|}}{{#if: {{subst:Wikidata|qualifiers|P793|P582}}|- {{subst:Wikidata|qualifiers|P793|P582}}|}}
| area = {{subst:Wikidata|property|P2046}}<!-- {{convert|...|ha|acre|abbr=on}} or similar with other units recommended -->{{subst:wikidata|reference|P2046}}
| buffer_zone =
| website = {{URL|{{subst:Wikidata|property|P856}}}}
| embedded =
| pushpin_map = {{subst:Wikidata|property|P17}}
| map_caption =
}}
Notes
[ಬದಲಾಯಿಸಿ]- If the Heritage Site has multiple locations across a country or continent, use the embedded template {{Location map many}} as in example 4.
- If the template is not used as an embedded template, always use the "name" parameter. If the template is embedded, and the official name at the Unesco site doesn't match the name of the template it is used in, use "official_name". See Giza pyramid complex for an example of the second use.
- "Type" is kept as a parameter for backwards compatibility only, and should preferably not be used.
Pushpin map
[ಬದಲಾಯಿಸಿ]Below are the parameters used by Module:Location map to produce the pushpin map in this Infobox. These parameters are available for editors to set in articles that use this infobox.
| Parameter | Description | Default |
|---|---|---|
|pushpin_map= |
The map(s) to display. For example, specifying England will use the values for England in Module:Location map/data/England.Multiple maps can be shown by providing a list of map names separated by #. For multiple maps, the first is shown by default. A reader can select the others with radio buttons. |
N/A |
|pushpin_caption= |
The text of a caption to be displayed below the map. If not provided a default caption will be generated. Multiple captions can be shown when separated by ## (that's two). |
Location within MAPNAME |
|pushpin_relief= |
0/false/off will cause the template to display the map defined as image (generally not a relief map). 1/true/on will cause the template to display the map defined as image1 (generally a relief map). Any non-zero numeric value such as 2 or 3 will display image2 or image3, if those images are defined. Any other non-empty value will cause display of image1. See the example at Location map+/relief. |
0 |
|pushpin_label= |
The text of the label to display next to the identifying mark; a wikilink can be used. You can enclose the label inside of {{Nowrap}} if you want to make sure that it stays on a single line. |
N/A |
|pushpin_label_size= |
The font size to use for the label, given as a percentage of the normal font size (<100=smaller, >100=larger); the default size is 90. Do not include %. For example, use |pushpin_label_size=80, not |pushpin_label_size=80%. If set to 0, the label is only displayed when the user hovers over the mark. |
90 |
|pushpin_label_position= |
The position of the label relative to the identifying mark; valid values are left, right, top, bottom and none. This defaults to either left or right, depending on the coordinates of the marker and its position relative to the right border of the map image. When |pushpin_label_position=none, any defined label will not be displayed with the mark, but it will be used to create the default caption. |
N/A |
|pushpin_mark= |
The name of an image file to display as the identifying mark; the default is Red pog.svg |
Red pog.svg |
|pushpin_mark_size= |
The size of the identifying mark in pixels. Do not include px | 8 |
|pushpin_alt= |
Alt text for map; used by screen readers. See WP:ALT. | N/A |
|pushpin_background= |
The background color to use for the label; see Web colors. The default is no background color, which shows the map image behind the label. | N/A |
|pushpin_map_size= |
Determines the width of the map in pixels, overriding any default values; do not include px. | N/A |
Examples
[ಬದಲಾಯಿಸಿ]- Example 1
| UNESCO ವಿಶ್ವ ಪರಂಪರೆಯ ತಾಣ | |
|---|---|
| ಸ್ಥಳ | Nepal |
| ಮಾನದಂಡಗಳು | Cultural: iii, iv, vi |
| ಉಲ್ಲೇಖ | 121 |
| ಶಾಸನ | 1979 (3rd ಅಧಿವೇಶನ) |
| ವಿಸ್ತರಣೆಗಳು | 2006 |
| ಅಳಿವಿನಂಚಿನಲ್ಲಿದೆ | 2003-2007 |
This example has no image:
{{Infobox UNESCO World Heritage Site
| name = Kathmandu Valley
| location = [[Nepal]]
| criteria = Cultural: iii, iv, vi
| ID = 121
| year = 1979
| danger = 2003-2007
| extension = 2006
}}
- Example 2
| UNESCO ವಿಶ್ವ ಪರಂಪರೆಯ ತಾಣ | |
|---|---|
The Kathmandu Darbar Square | |
| ಸ್ಥಳ | Nepal |
| ಮಾನದಂಡಗಳು | Cultural: iii, iv, vi |
| ಉಲ್ಲೇಖ | 121 |
| ಶಾಸನ | 1979 (3rd ಅಧಿವೇಶನ) |
| ವಿಸ್ತರಣೆಗಳು | 2006 |
| ಅಳಿವಿನಂಚಿನಲ್ಲಿದೆ | 2003-2007 |
This example uses an image of width 270px, and the alt and caption parameters:
{{Infobox UNESCO World Heritage Site
| name = Kathmandu Valley
| image = Basantapurpalace.JPG
| image_size = 270px
| alt = The Kathmandu Darbar Square
| caption = The Kathmandu Darbar Square
| location = [[Nepal]]
| criteria = Cultural: iii, iv, vi
| ID = 121
| year = 1979
| danger = 2003-2007
| extension = 2006
}}
- Example 3
| UNESCO ವಿಶ್ವ ಪರಂಪರೆಯ ತಾಣ | |
|---|---|
The Kathmandu Darbar Square | |
| ಸ್ಥಳ | Nepal |
| ಮಾನದಂಡಗಳು | Cultural: iii, iv, vi |
| ಉಲ್ಲೇಖ | 121 |
| ಶಾಸನ | 1979 (3rd ಅಧಿವೇಶನ) |
| ವಿಸ್ತರಣೆಗಳು | 2006 |
| ಅಳಿವಿನಂಚಿನಲ್ಲಿದೆ | 2003-2007 |
| ವಿಸ್ತೀರ್ಣ | 167.37 ha |
| ಬಫರ್ ವಲಯ | 70.29 ha |
| ನಿರ್ದೇಶಾಂಕಗಳು | 27°42′14″N 85°18′32″E / 27.704°N 85.309°E |
This example uses the default image width, and a location map:
{{Infobox UNESCO World Heritage Site
| name = Kathmandu Valley
| image = Basantapurpalace.JPG
| alt = The Kathmandu Darbar Square
| caption = The Kathmandu Darbar Square
| location = [[Nepal]]
| criteria = Cultural: iii, iv, vi
| ID = 121
| year = 1979
| danger = 2003-2007
| extension = 2006
| area = 167.37 ha
| buffer_zone = 70.29 ha
| pushpin_map = Nepal
| coordinates = {{coord|27.704|85.309}}
| map_caption = Location in Nepal
}}
- Example 4
| UNESCO ವಿಶ್ವ ಪರಂಪರೆಯ ತಾಣ | |
|---|---|
Bauhaus building in Dessau | |
| ಸ್ಥಳ | Germany |
| ಮಾನದಂಡಗಳು | Cultural: ii, iv, vi |
| ಉಲ್ಲೇಖ | 729 |
| ಶಾಸನ | 1996 (20th ಅಧಿವೇಶನ) |
| ವಿಸ್ತರಣೆಗಳು | 2017 |
| ವಿಸ್ತೀರ್ಣ | 8.1614 ha |
| ಬಫರ್ ವಲಯ | 59.26 ha |
This example uses an embedded template for the location map, allowing an unlimited number of clickable locations:
{{Infobox UNESCO World Heritage Site
|name = Bauhaus and its Sites in Weimar, Dessau and Bernau
|image = [[File:Bundesarchiv Bild 183-1987-0204-305, Dessau, Bauhaus.jpg|250px|Bauhaus Dessau Workshop]]
|caption = Bauhaus building in Dessau
|location = Germany
|criteria = Cultural: ii, iv, vi
|ID = 729
|year = 1996
|extension = 2017
|area = 8.1614 ha
|buffer_zone = 59.26 ha
|embedded =
{{Location map many|border = infobox
| Germany
| caption = Bauhaus sites: 1 = Weimar, 2 = Dessau, 3 = Bernau
| label1 = 1
| link1 = Weimar
| coordinates1 = {{coord|50|58|29|N|11|19|46|E}}
| label2 = 2
| link2 = Dessau
| coordinates2 = {{coord|51|50|18|N|12|13|38|E}}
| label3 = 3
| link3 = Bernau bei Berlin
| coordinates3 = {{coord|52|42|24|N|13|32|39|E}}
}}
}}
Template data
[ಬದಲಾಯಿಸಿ]TemplateData documentation used by VisualEditor and other tools | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See a monthly parameter usage report for Template:Infobox ವಿಶ್ವ ಪರಂಪರೆಯ ತಾಣ in articles based on its TemplateData.
TemplateData for Infobox ವಿಶ್ವ ಪರಂಪರೆಯ ತಾಣ An Infobox for World Heritage Sites
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Tracking categories
[ಬದಲಾಯಿಸಿ]See also
[ಬದಲಾಯಿಸಿ]{{Infobox intangible heritage}}{{Intangible Heritage Azerbaijan}}navbox{{Intangible Heritage Iran}}navbox
{{Infobox UNESCO World Heritage Site}}{{Lists of World Heritage Sites}}navbox{{World Heritage Sites in Bulgaria}}
{{UNESCO Collection}}{{UNESCO Oral and Intangible Eastern Europe}}{{UNESCO Oral and Intangible music}}{{UNESCO Representative List of the Intangible Cultural Heritage of Humanity}}