Template:Infobox World Heritage Site: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Mike Peel
(+ official name)
meta>Mike Peel
(fix, and officialname=WHS)
Line 4: Line 4:
| headerstyle = background:#ddd;
| headerstyle = background:#ddd;
| titleclass = category
| titleclass = category
| title = {{#if:{{{child|}}}||<includeonly>'''{{{WHS|{{{Name|{{PAGENAMEBASE}}}}}}}}'''</includeonly>{{#if:{{#property:P1705}}|<br />{{#if:{{#property:P103}}|{{#property:P103}}:&nbsp;}}{{#property:P1705}}}}}}
| title = {{#if:{{{child|}}}||<includeonly>'''{{{Name|{{PAGENAMEBASE}}}}}'''</includeonly>{{#if:{{#property:P1705}}|<br />{{#if:{{#property:P103}}|{{#property:P103}}:&nbsp;}}{{#property:P1705}}}}}}


| image = {{#if:{{{child|}}}||{{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{Image|{{{image|FETCH_WIKIDATA}}} }}} }}|size={{{image_size|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}}}}
| image = {{#if:{{{child|}}}||{{#invoke:InfoboxImage|InfoboxImage|image={{#invoke:Wikidata|getValue|P18|{{{Image|{{{image|FETCH_WIKIDATA}}} }}} }}|size={{{image_size|}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}}}}}
Line 12: Line 12:


| label2 = Official name
| label2 = Official name
data3 = {{#invoke:WikidataIB|getValue|P1435|pval=Q9259 |qual=P1448 |name=officialname|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|sorted=yes|sep=<br />|{{{officialname|}}} }}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1435}} }}
data2 = {{#invoke:WikidataIB|getValue|P1435|pval=Q9259 |qual=P1448 |name=whs|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|sorted=yes|sep=<br />|{{{WHS|}}} }}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P1435}} }}


| label3 = [[Table of World Heritage Sites by country|Location]]
| label3 = [[Table of World Heritage Sites by country|Location]]
Line 60: Line 60:
|  data14  = {{#if:{{{child|}}}||{{{website|{{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }} }}}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P856}} }}}}
|  data14  = {{#if:{{{child|}}}||{{{website|{{#if:{{#property:P856}}|{{Url|1={{#invoke:Wikidata|getValue|P856|FETCH_WIKIDATA}} }} }} }}}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P856}} }}}}


|data14 = {{#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|}}}}}}}
|data15 = {{#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}}
| below    = {{EditOnWikidata}}

Revision as of 21:38, 20 July 2017


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