Template:Wikidata property: Difference between revisions
Appearance
Content deleted Content added
link target updated (see Template_talk:Wikidata_property#Proposed_change_about_link_target) |
m typo |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
| position = {{{position|}}} |
| position = {{{position|}}} |
||
| project = data |
| project = data |
||
| text = [[Wikidata]] has the propert{{#if:{{{2|}}}|ies|y}}: |
|||
| text = [[Wikidata]] has the property: '''''[[d:Property talk:{{#if:1|{{{1}}}}}|{{#if:1|{{{2|{{#invoke:Wikibase|label|{{#if:1|{{{1}}}}}}}}}}}} <small>({{#if:1|{{{1}}}}})</small>]]''''' (see <span class="plainlinks">[https://query.wikidata.org/embed.html#SELECT%20%3FWikiData_item_%20%3FWikiData_item_Label%20%3Fvalue%20%3FvalueLabel%20%3FEnglish_WikiPedia_article%20%23Show%20data%20in%20this%20order%0A%7B%0A%09%3FWikiData_item_%20wdt%3A{{#if:1|{{{1}}}}}%20%3Fvalue%20.%20%23Collecting%20all%20items%20which%20have%20{{#if:1|{{{1}}}}}%20data%2C%20from%20whole%20WikiData%20item%20pages%0A%09OPTIONAL%20%7B%3FEnglish_WikiPedia_article%20schema%3Aabout%20%3FWikiData_item_%3B%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fen.wikipedia.org%2F%3E%20.%7D%20%23If%20collected%20item%20has%20link%20to%20English%20WikiPedia%2C%20show%20that%0A%09SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20%20%7D%20%23Show%20label%20in%20this%20language.%20%22en%22%20is%20English.%20%20%20%0A%7D%0ALIMIT%201000 uses]</span>) |
|||
{{#invoke:Uses Wikidata|usesProperty}} |
|||
}}<noinclude> |
}}<noinclude> |
||
{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --> |
{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --> |
Revision as of 22:06, 18 July 2018
This template is being discussed in accordance with Wikipedia's deletion policy. Help reach a consensus at its entry. |
Wikidata has the property:
This template uses Lua: |
Usage
As supported by Wikipedia:Wikimedia sister projects, this template may be used to add a Wikidata property link to a Wikipedia article – concretely, the link created leads to the property's discussion page containing the actual human-readable documentation. Note that this template generates an InterWikimedia link and is not intended to represent sources for Wikipedia articles.
Code | Result |
---|---|
{{Wikidata property | P496 }}
| Wikidata has the property:
|
{{Wikidata property |1= P496 }}
| Wikidata has the property:
|
{{Wikidata property | P1164 | P2820 }}
| Wikidata has the properties:
|
{{Wikidata property |1= P1164 |2= P2820 }}
| Wikidata has the properties:
|
Parameters
- Pnumber (mandatory)
- Name (defaults to Wikidata property label)
Supporting templates and modules
- {{Sister project}}, implemented using {{#invoke:Side box|main}} via {{Side box}}
- {{#invoke:Uses Wikidata|usesProperty}}
See also
- {{Uses Wikidata}}
- {{Tracks Wikidata}}
- {{Wikidata entity link}}
- {{Wikidata property link}}
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Wikidata property in articles based on its TemplateData.
TemplateData for Wikidata property
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
P number | 1 | no description
| Unknown | required |
position | position | no description | Unknown | optional |