Difference between revisions of "Template:Austria metadata Wikidata/doc"
Jump to navigation
Jump to search
imported>Underlying lk |
imported>Zyxw |
||
| (6 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --> | ||
| − | This template can be used to feed population figures from Wikidata to fields in templates such as {{tl|Infobox settlement}} | + | This template can be used to feed area and population figures from Wikidata to fields in templates such as {{tl|Infobox settlement}}. |
| − | |||
| − | |||
For a usage example, see {{oldid2|886924685|Eisenstadt}}. | For a usage example, see {{oldid2|886924685|Eisenstadt}}. | ||
==Population== | ==Population== | ||
| + | {{tl|Austria metadata Wikidata}} works by checking if the Wikidata entity linked to the article has a {{wpl|P1082}} statement dating to 1 January 2018 and sourced by an external reference (not {{wpl|P143}} or similar properties). If the condition is verified, the population figure is displayed. | ||
| + | |||
=== Usage === | === Usage === | ||
| Line 19: | Line 19: | ||
<pre>{{Austria metadata Wikidata|population_as_of}}</pre> | <pre>{{Austria metadata Wikidata|population_as_of}}</pre> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==Area== | ==Area== | ||
| Line 62: | Line 29: | ||
<pre>{{Austria metadata Wikidata|area_total_km2}}</pre> | <pre>{{Austria metadata Wikidata|area_total_km2}}</pre> | ||
| − | === | + | ==Tracking categories== |
| − | + | * {{clc|Pages using Template:Austria metadata Wikidata without references}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | * {{ | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
==See also== | ==See also== | ||
| − | * [ | + | * [[Wikipedia:Uploading metadata to Wikidata]] |
<includeonly>{{sandbox other|| | <includeonly>{{sandbox other|| | ||
| Line 88: | Line 39: | ||
[[Category:Templates using data from Wikidata]] | [[Category:Templates using data from Wikidata]] | ||
[[Category:Austria subdivision templates]] | [[Category:Austria subdivision templates]] | ||
| − | + | [[Category:Template:Metadata Population]] | |
| + | [[Category:Austria data templates]] | ||
| + | [[Category:Templates that add a tracking category]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 04:25, 11 March 2020
| This is a documentation subpage for Template:Austria metadata Wikidata. It contains usage information, categories and other content that is not part of the original template page. |
This template can be used to feed area and population figures from Wikidata to fields in templates such as {{Infobox settlement}}.
For a usage example, see Eisenstadt.
Population
{{Austria metadata Wikidata}} works by checking if the Wikidata entity linked to the article has a Template:Wpl statement dating to 1 January 2018 and sourced by an external reference (not Template:Wpl or similar properties). If the condition is verified, the population figure is displayed.
Usage
{{Austria metadata Wikidata|population_footnotes}}
OR
{{Austria metadata Wikidata|population_total}}
OR
{{Austria metadata Wikidata|population_as_of}}
Area
Usage
{{Austria metadata Wikidata|area_footnotes}}
OR
{{Austria metadata Wikidata|area_total_km2}}
Tracking categories
See also