meta>Mike Peel |
|
(9 intermediate revisions by 6 users not shown) |
Line 1: |
Line 1: |
| {{Infobox
| | #redirect[[Template:Infobox UNESCO World Heritage Site]] |
| | child = {{{child|}}}
| |
| | bodyclass = vcard
| |
| | headerstyle = background:#ddd;
| |
| | titleclass = category
| |
| | title = {{#if:{{{child|}}}||<includeonly>'''{{{Name|{{{name|{{PAGENAMEBASE}}}}}}}}'''</includeonly>{{#if:{{{native_name|{{#property:P1705}}}}}|<br />{{#if:{{{native_lang|{{#property:P103}}}}}|{{{native_lang|{{#property:P103}}}}}: }}{{{native_name|{{#property:P1705}}}}}}}}}
| |
| | |
| | image = {{#if:{{{child|}}}||{{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:WikidataIB |getPreferredValue |P18 |name=image |qid={{{qid|}}} |suppressfields={{{suppressfields|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |onlysourced=no |noicon=yes|{{{Image|{{{image|}}}}}}}}|size={{{image size|{{{image_size|{{{imagesize|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}}}
| |
| | caption = {{#if:{{{child|}}}||{{#if:{{{caption|{{{Caption|{{{imagecaption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}}}}} |<div style="padding-top:0.2em;line-height:1.4em;">{{{caption|{{{Caption|{{{imagecaption|{{#invoke:Wikidata|getImageLegend|FETCH_WIKIDATA}}}}}}}}}}}</div>}}}}
| |
| | |
| | header1 = [[World Heritage Site|UNESCO World Heritage Site]]
| |
| | |
| | label2 = Official name
| |
| | data2 = {{#invoke:WikidataIB|getQualifierValue|P1435|pval=Q9259 |qual=P1448 |name=whs|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|sep="<br />"|sorted=yes|{{{WHS|}}} }}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1435|P1448}} }}
| |
| | |
| | label3 = [[Table of World Heritage Sites by country|Location]]
| |
| | data3 = {{#if:{{{child|}}}||{{Wikidata location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|location={{{location|{{{Location|}}}}}}|refs={{{refs|no}}}}}}}
| |
| | |
| |label4 = [[Geographic coordinate system|Coordinates]]
| |
| | data4 = {{#if:{{{nocoord|}}}||{{#if:{{{child|}}}||{{#if:{{{coords|}}} | {{{coords}}} | {{#if:{{{Coordinates|}}} | {{{Coordinates}}} | {{#if:{{{coordinates|}}} | {{{coordinates}}} | {{#if:{{#Property:P625}} | {{Coord|nosave=1|display=inline|format=dms}} }} }} }} }}}}}}
| |
| | |
| | label5 = Area
| |
| | data5 = {{#if:{{{child|}}}||{{{area|{{#if:{{#property:P2046}}|{{#ifeq:{{#invoke:Wikidata|getUnits|P2046|FETCH_WIKIDATA}}|square inch|{{convert|input=P2046|sqm|abbr=on}}|{{convert|input=P2046|sqft|abbr=on}} }} }} }}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2046}} }} }}
| |
| | |
| | label6 = Includes
| |
| | data6 = {{#if:{{{child|}}}||{{#invoke:WikidataIB|getPreferredValue|P527|name=includes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|sorted=yes|sep=<br />|{{{includes|}}} }}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P527}} }}}}
| |
| | |
| | label7 = [[World Heritage Site#Selection criteria|Criteria]]
| |
| | data7 = {{UNESCO WHS type|{{{Criteria|{{#property:P2614}}}}}}}{{#invoke:WikidataIB|getPreferredValue|P2614|name=Criteria|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{#if:{{{Type|{{{type|}}}}}}|{{{Type|{{{type|}}}}}}: }}{{{Criteria|}}} }}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2614}} }}
| |
| | |
| |label9 = Reference
| |
| | data9 = {{#if:{{#invoke:Wikidata|getValue|P757|{{{ID|FETCH_WIKIDATA}}}}} |{{#if:{{{Link|}}} |[{{{Link}}} {{#invoke:Wikidata|getValue|P757|{{{ID|FETCH_WIKIDATA}}}}}] |[http://whc.unesco.org/en/list/{{#invoke:Wikidata|getValue|P757|{{{ID|FETCH_WIKIDATA}}}}} {{#invoke:Wikidata|getValue|P757|{{{ID|FETCH_WIKIDATA}}}}}] }} }}
| |
| | |
| |label10 = Inscription
| |
| | data10 = <includeonly>{{#if:{{{Year|#property:P1435}}} |{{{Year|{{#invoke:WikidataIB |getQualifierValue |P1435 |pval=Q9259 |qual=P580 |name=inscription |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}}|noicon=yes}}}}} <small>(<!--
| |
| -->{{{Session|{{{session|{{#switch: {{{Year|{{#invoke:WikidataIB |getQualifierValue |P1435 |pval=Q9259 |qual=P580 |name=inscription |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}}|noicon=yes}}}}}
| |
| |1977=1st |1978=2nd |1979=3rd |1980=4th |1981=5th
| |
| |1982=6th |1983=7th |1984=8th |1985=9th |1986=10th
| |
| |1987=11th |1988=12th |1989=13th |1990=14th |1991=15th
| |
| |1992=16th |1993=17th |1994=18th |1995=19th |1996=20th
| |
| |1997=21st |1998=22nd |1999=23rd |2000=24th |2001=25th
| |
| |2002=26th |2003=27th |2004=28th |2005=29th |2006=30th
| |
| |2007=31st |2008=32nd |2009=33rd |2010=34th |2011=35th
| |
| |2012=36th |2013=37th |2014=38th |2015=39th |2016=40th
| |
| |2017=41st |2018=42nd |2019=43rd |2020=44th |2021=45th
| |
| |#default = Unknown
| |
| }}}}}}}}<!--
| |
| --> [[World Heritage Committee|Session]])</small><!--
| |
| -->}}</includeonly>
| |
| | |
| |label11 = Extensions
| |
| | data11 = {{{Extension|{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q29778318 |qual=P585 |name=extension |fetchwikidata={{{fetchwikidata|ALL}}}}} }}}
| |
| | |
| |label12 = Delisted
| |
| | data12 = {{{delisted|{{#invoke:WikidataIB |getQualifierValue |P1435 |pval=Q9259 |qual=P582 |name=delisted |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}}|noicon=yes}}}}}
| |
| | |
| |label13 = [[List of World Heritage in Danger|Endangered]]
| |
| | data13 = {{{Danger|{{#if:{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q222384 |qual=P580 |name=danger |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}}|noicon=yes}}|{{If first display both|{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q222384 |qual=P580 |name=danger |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}}}}–|{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q222384 |qual=P582 |name=danger |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}} }}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P793|Q222384}}}}}}}}}}}
| |
| | |
| | data14 = {{{embedded|}}}
| |
| | |
| | label15 = Website
| |
| | data15 = {{#if:{{{child|}}}||{{{Website|{{{website|{{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }} }}}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P856}} }}}}}}}
| |
| | |
| |data16 = {{#if:{{{child|}}}||{{Wikidata location map|locmapin={{{locmapin|}}}|map_caption={{{map_caption|}}}|name={{{name|}}}|trackingcat={{main other|[[Category:Articles using Infobox World Heritage Site with missing Location map template]]}}|nomap={{{nomap|}}}}}}}
| |
| | |
| | below = {{EditOnWikidata|noicon={{{noicon}}}}}
| |
| | |
| }}<includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox World Heritage Site with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox World Heritage Site]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | area | Caption | caption | child | Coordinates | coordinates | Criteria | Danger | delisted | embedded | Extension | ID | image | Image | image_size | image_upright | imagecaption | Link | location | Location | locmapin | map_caption | map_width | Name | name | nocoord | noicon | nomap | Region | relief | Session | session | Type | website | Website | WHS | Year | State Party
| |
| }}{{main other|{{#if:{{safesubst:#invoke:Check for unknown parameters|check|unknown=1|preview=1|child|nocoord|noicon|nomap|locmapin}}|[[Category:Articles using Infobox World Heritage Site using locally defined parameters]]|{{#if:{{{child|}}}||[[Category:Articles with infoboxes completely from Wikidata]]}}}}}}</includeonly><noinclude>{{documentation}}<!--Please add any categories to the /doc page --></noinclude>
| |