Template:Wikidata entity link
Jump to navigation
Jump to search
This template uses Lua: |
Template:Wikidata entity link is used to get an automatically localized link to a Wikidata item or property.
Usage examples[edit source]
- Standard usage
{{Wikidata entity link}}
→ Lua error in Module:Wikibase at line 34: attempt to index field 'wikibase' (a nil value). (no mw.wikibase){{Wikidata entity link|1}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (Q1){{Wikidata entity link|Q1}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (Q1){{Wikidata entity link|P681}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P681)
- Leading/trailing white space
{{Wikidata entity link | 1 }}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (Q1){{Wikidata entity link | Q1 }}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (Q1){{Wikidata entity link | P681 }}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P681)
- Lower case
{{Wikidata entity link | q1 }}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (q1){{Wikidata entity link | p681 }}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (p681)
- Template shortcuts
{{q|1}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (Q1){{wde|Q1}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (Q1){{wdq|P681}}
→ Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P681)
See also[edit source]
- Wikidata:Template:Q
- Wikidata:Template:Property
- Template:Label
- Template:Wikidata property
- Template:Wikidata property link
External links[edit source]
- Template:Wikidata entity link at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:Wikidata entity link/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |