Template:Label
Jump to navigation
Jump to search
Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
| Warning | This template is used on approximately 41,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| File:Lua-Logo.svg | This template uses Lua: |
This template gets the label of a Wikidata item or property.
Usage examples
- Standard usage
{{Label}}→ Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).{{Label|Q5}}→ Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).{{Label|P31}}→ Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
- Leading/trailing white space
{{Label | Q5 }}→ Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).{{Label | P31 }}→ Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
- Lower case
{{Label | q5 }}→ Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).{{Label | p31 }}→ Lua error in Module:Wd at line 633: attempt to index field 'wikibase' (a nil value).
See also
{{LinkedLabel}}{{Wikidata entity link}}{{Wikidata property link}}{{Get QID}}, the inverse template- d:Template:Label
- c:Template:Label