Template:Wikidata location: Difference between revisions

From Random Island Wiki
Jump to navigation Jump to search
>Mike Peel
(+ P706 / terrainfeature)
>Mike Peel
(remove duplicate of tracking category)
Line 1: Line 1:
{{#if:{{{location|}}}|{{{location|}}}|{{comma separated values
{{#if:{{{location|}}}|{{{location|}}}|{{comma separated values
| 1 = {{#invoke:WikidataIB|getValue|P706|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{terrainfeature|}}}}}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P706}}}}{{#if:{{#Property:P706}}|[[Category:Articles using location from Wikidata]]}}
| 1 = {{#invoke:WikidataIB|getValue|P706|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{terrainfeature|}}}}}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P706}}}}
| 2 = {{#invoke:WikidataIB|getValue|P276|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{location|}}}}}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P276}}}}{{#if:{{#Property:P276}}|[[Category:Articles using location from Wikidata]]}}
| 2 = {{#invoke:WikidataIB|getValue|P276|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{location|}}}}}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P276}}}}{{#if:{{#Property:P276}}|[[Category:Articles using location from Wikidata]]}}
| 3 = {{#invoke:WikidataIB|getValue|P131|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{area|}}}}}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P131}}}}
| 3 = {{#invoke:WikidataIB|getValue|P131|name=location|suppressfields={{{suppressfields|}}}|fetchwikidata={{{fetchwikidata|ALL}}}|onlysourced={{{onlysourced|no}}}|{{{area|}}}}}{{#ifeq:{{{refs|yes}}}|yes|{{wikidata|references|normal+|{{{qid|}}}|P131}}}}

Revision as of 11:47, 8 July 2017