Template:Infobox World Heritage Site: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Mike Peel
(Support Location with capital L)
meta>Nikkimaria
(onlysourced)
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|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1435|P1448}} }}
|  data2 = {{#invoke:WikidataIB|getQualifierValue|P1435|pval=Q9259 |qual=P1448 |name=whs|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}|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]]
|  data3 = {{#if:{{{child|}}}||{{Wikidata location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|location={{{location|{{{Location|}}}}}}|refs={{{refs|no}}}}}}}
|  data3 = {{#if:{{{child|}}}||{{Wikidata location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}|location={{{location|{{{Location|}}}}}}|refs={{{refs|no}}}}}}}


|label4 = [[Geographic coordinate system|Coordinates]]
|label4 = [[Geographic coordinate system|Coordinates]]
Line 24: Line 24:


| label6 = Includes
| 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}} }}}}
|  data6 = {{#if:{{{child|}}}||{{#invoke:WikidataIB|getPreferredValue|P527|name=includes|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}|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|getPreferredValue|P2614|name=Criteria|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{#if:{{{Type|{{{type|}}}}}}|{{{Type|{{{type|}}}}}}:&nbsp;}}{{{Criteria|}}} }}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2614}} }}
|  data7 = {{UNESCO WHS type|{{{Criteria|{{#property:P2614}}}}}}}{{#invoke:WikidataIB|getPreferredValue|P2614|name=Criteria|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|}}}|{{#if:{{{Type|{{{type|}}}}}}|{{{Type|{{{type|}}}}}}:&nbsp;}}{{{Criteria|}}} }}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P2614}} }}


|label9 = Reference
|label9 = Reference
Line 33: Line 33:


|label10 = Inscription
|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>(<!--
| data10 = <includeonly>{{#if:{{{Year|#property:P1435}}} |{{{Year|{{#invoke:WikidataIB |getQualifierValue |P1435 |pval=Q9259 |qual=P580 |name=inscription |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}}|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}}}}}
           -->{{{Session|{{{session|{{#switch: {{{Year|{{#invoke:WikidataIB |getQualifierValue |P1435 |pval=Q9259 |qual=P580 |name=inscription |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}}|noicon=yes}}}}}
                   |1977=1st  |1978=2nd  |1979=3rd  |1980=4th  |1981=5th
                   |1977=1st  |1978=2nd  |1979=3rd  |1980=4th  |1981=5th
                   |1982=6th  |1983=7th  |1984=8th  |1985=9th  |1986=10th
                   |1982=6th  |1983=7th  |1984=8th  |1985=9th  |1986=10th
Line 53: Line 53:


|label12 = Delisted
|label12 = Delisted
| data12 = {{{delisted|{{#invoke:WikidataIB |getQualifierValue |P1435 |pval=Q9259 |qual=P582 |name=delisted |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|no}}}|noicon=yes}}}}}
| data12 = {{{delisted|{{#invoke:WikidataIB |getQualifierValue |P1435 |pval=Q9259 |qual=P582 |name=delisted |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}}|noicon=yes}}}}}


|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|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P793|Q222384}}}}}}}}}}}
| data13 = {{{Danger|{{#if:{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q222384 |qual=P580 |name=danger |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}}|noicon=yes}}|{{If first display both|{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q222384 |qual=P580 |name=danger |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}}}}–|{{#invoke:WikidataIB |getQualifierValue |P793 |pval=Q222384 |qual=P582 |name=danger |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced={{{onlysourced|}}} }}{{#ifeq:{{{refs|no}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P793|Q222384}}}}}}}}}}}


| data14 = {{{embedded|}}}
| data14 = {{{embedded|}}}

Revision as of 13:47, 7 October 2017


{{#property:P103}}: {{#property:P1705}}
UNESCO World Heritage Site
LocationTemplate:Wikidata location
CoordinatesLua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value).
AreaP2046
CriteriaTemplate:UNESCO WHS type
ReferenceLua 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).
WebsiteTemplate:Url
Template:Wikidata location map
Template:EditOnWikidata