Template:Infobox settlement/Wikidata: Difference between revisions
Appearance
Content deleted Content added
No edit summary Tag: Reverted |
move to doc page where it belongs |
||
(3 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Improve documentation|date=September 2017}}</noinclude> |
|||
<includeonly>{{Infobox settlement |
<includeonly>{{Infobox settlement |
||
<!-- See Template:Infobox settlement for additional fields and descriptions --> |
<!-- See Template:Infobox settlement for additional fields and descriptions --> |
||
| name = {{PAGENAMEBASE}} |
| name = {{PAGENAMEBASE}} |
||
| native_name = |
| native_name = |
||
| native_name_lang = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead --> |
| native_name_lang = <!-- ISO 639-2 code e.g. "fr" for French. If more than one, use {{lang}} instead --> |
||
| settlement_type = {{#if: {{#property:P31}} | [[{{#property:P31}}]] }} |
| settlement_type = {{#if: {{#property:P31}} | [[{{#property:P31}}]] }} |
||
Line 103: | Line 102: | ||
Try it on {{Wikidata test|San Francisco|{{PAGENAME}}}}, {{Wikidata test|Vladivostok|{{PAGENAME}}}}, {{Wikidata test|Sapporo|{{PAGENAME}}}} |
Try it on {{Wikidata test|San Francisco|{{PAGENAME}}}}, {{Wikidata test|Vladivostok|{{PAGENAME}}}}, {{Wikidata test|Sapporo|{{PAGENAME}}}} |
||
{{documentation}} |
|||
</noinclude><noinclude> |
|||
{{Documentation}} |
|||
<!--Please add this template's categories to the /doc subpage, not here - thanks!--> |
<!--Please add this template's categories to the /doc subpage, not here - thanks!--> |
||
</noinclude> |
</noinclude> |
Latest revision as of 18:19, 9 August 2023
Try it on San Francisco
, Vladivostok
, Sapporo
This template's documentation is missing, inadequate, or does not accurately describe its functionality or the parameters in its code. Please help to expand and improve it. (September 2017) |
This template is rated as pre-alpha. It is unfinished, and may or may not be in active development. It should not be used from article namespace pages. Templates remain pre-alpha until the original editor (or someone who takes one over if it is abandoned for some time) is satisfied with the basic structure. |
This template uses the Wikidata properties:
- image (P18) (see uses)
- flag image (P41) (see uses)
- seal image (P158) (see uses)
- coat of arms image (P94) (see uses)
- nickname (P1449) (see uses)
- locator map image (P242) (see uses)
- country (P17) (see uses)
- located in the administrative territorial entity (P131) (see uses)
- area (P2046) (see uses)
- population (P1082) (see uses)
- local dialing code (P473) (see uses)
- official website (P856) (see uses)
Usage
This is a test template that uses Wikidata values to populate settlement infoboxes.
Infobox settlement/Wikidata | |
---|---|
Subdivision | New York |
Government |
Per Wikipedia:Wikidata/2018 Infobox RfC#Discussion, which found consensus that all uses of Wikidata in infoboxes must be sourced, this template should not be used in articles until it is updated to use Module:WikidataIB for all Wikidata calls. See Template:Infobox person/Wikidata for examples of how to use the module.