Template:Wikidata entity link/doc
Chësta ie na plata de documentazion per Template:Wikidata entity link. Tlo abines nfurmazions sun co adurvé categories y auter contenuto che ne ie nia pert dl template uriginel 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
mudé- Standard usage
{{Wikidata entity link}}
→ (no entity){{Wikidata entity link|1}}
→ Univers (Q1){{Wikidata entity link|Q1}}
→ Univers (Q1){{Wikidata entity link|P681}}
→ (P681)
- Leading/trailing white space
{{Wikidata entity link | 1 }}
→ Univers (Q1){{Wikidata entity link | Q1 }}
→ Univers (Q1){{Wikidata entity link | P681 }}
→ (P681)
- Lower case
{{Wikidata entity link | q1 }}
→ Univers (Q1){{Wikidata entity link | p681 }}
→ (P681)
- Template shortcuts
{{q|1}}
→ Template:Q{{wde|Q1}}
→ Template:Wde{{wdq|P681}}
→ Template:Wdq
TemplateData
mudéThis is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Wikidata entity link
Nessuna descrizione.
Parametro | Descrizione | Tipo | Stato | |
---|---|---|---|---|
item or property number | 1 | The letter P is required when linking to properties. The letter Q is optional when linking to items.
| Linea | consigliato |
See also
mudé- d:Template:Q
- d:Template:Property
- {{Get QID|<Wikipedia page title>}}
- {{Label}}
- {{LinkedLabel}}
- {{Wikidata fallback link}}
- {{Wikidata property}}
- {{Wikidata property link}}
- {{Authority control}}
- {{QID}}