Template:Wikidata entity link/doc
Kaonekelo
This is a documentation subpage for Template:Wikidata entity link. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:Wikidata entity link is used to get an automatically localized link to a Wikidata item or property.
Usage examples
[kulemba source]- Standard usage
{{Wikidata entity link}}
→ (no entity){{Wikidata entity link|1}}
→ (Q1){{Wikidata entity link|Q1}}
→ (Q1){{Wikidata entity link|P681}}
→ (P681)
- Leading/trailing white space
{{Wikidata entity link | 1 }}
→ (Q1){{Wikidata entity link | Q1 }}
→ (Q1){{Wikidata entity link | P681 }}
→ (P681)
TemplateData
[kulemba source]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for Wikidata entity link
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
item or property number | 1 | The letter P is required when linking to properties. The letter Q is optional when linking to items.
| Line | suggested |
See also
[kulemba source]- d:Template:Q
- d:Template:Property
- {{Get QID|<Wikipedia page title>}}
- {{Label}}
- {{LinkedLabel}}
- {{Wikidata fallback link}}
- {{Wikidata property}}
- {{Wikidata property link}}
- {{Authority control}}
- {{QID}}