Template:Infobox World Heritage Site: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Mike Peel (quick fix for website line) |
meta>Francis Schonken (For the same reasons as explained at Template talk:Infobox observatory#Locations and cites) |
||
Line 12: | Line 12: | ||
| label2 = Official name | | 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| | | 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]] | | label3 = [[Table of World Heritage Sites by country|Location]] | ||
Line 21: | Line 21: | ||
| label5 = Area | | 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| | | 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 | | label6 = Includes | ||
| data6 = {{#if:{{{child|}}}||{{#invoke:WikidataIB|getValue|P527|name=includes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|sorted=yes|sep=<br />|{{{includes|}}} }}{{#ifeq:{{{refs| | | data6 = {{#if:{{{child|}}}||{{#invoke:WikidataIB|getValue|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]] | | label7 = [[World Heritage Site#Selection criteria|Criteria]] | ||
| data7 = {{UNESCO WHS type|{{{Criteria|{{#property:P2614}}}}}}}{{#invoke:WikidataIB|getValue|P2614|name=Criteria|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{Criteria|}}} }}{{#ifeq:{{{refs| | | data7 = {{UNESCO WHS type|{{{Criteria|{{#property:P2614}}}}}}}{{#invoke:WikidataIB|getValue|P2614|name=Criteria|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{Criteria|}}} }}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2614}} }} | ||
|label9 = Reference | |label9 = Reference | ||
Line 56: | Line 56: | ||
|label13 = [[List of World Heritage in Danger|Endangered]] | |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| | | 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|}}} | | data14 = {{{embedded|}}} | ||
| label15 = Website | | label15 = Website | ||
| data15 = {{#if:{{{child|}}}||{{{Website|{{{website|{{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }} }}}{{#ifeq:{{{refs| | | 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|}}}}}}} | |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|}}}}}}} |
Revision as of 15:17, 30 September 2017
Lua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value). | |
UNESCO World Heritage Site | |
---|---|
Location | Template:Wikidata location |
Coordinates | Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value). |
Area | P2046 |
Criteria | Template:UNESCO WHS type |
Reference | Lua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value). Lua error in Module:Wikidata at line 448: attempt to index field 'wikibase' (a nil value). |
Website | Template:Url |
Template:Wikidata location map | |
Template:EditOnWikidata |