Template:Wikidata entity link/doc
Jump to navigation
Jump to search
This is a documentation subpage for Template:Wikidata entity link. It contains 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[edit source]
- Standard usage
{{Wikidata entity link|1}}
→ [Lua error in Module:Wikibase at line 27: attempt to index field 'wikibase' (a nil value). 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 27: attempt to index field 'wikibase' (a nil value). 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 27: attempt to index field 'wikibase' (a nil value). Lua error in Module:Wikibase at line 40: attempt to index field 'wikibase' (a nil value). (P681)]
- Leading/trailing whitespace
{{Wikidata entity link | 1 }}
→ [Lua error in Module:Wikibase at line 27: attempt to index field 'wikibase' (a nil value). 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 27: attempt to index field 'wikibase' (a nil value). 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 27: attempt to index field 'wikibase' (a nil value). 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 27: attempt to index field 'wikibase' (a nil value). 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 27: attempt to index field 'wikibase' (a nil value). 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 27: attempt to index field 'wikibase' (a nil value). 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