Template:Label
Lua error in Module:Wikibase at line 22: attempt to index field 'wikibase' (a nil value).
| This template uses Lua: |
This template gets the label of a Wikidata item or property.
Usage examples
- Standard usage
{{Label}}→ Lua error in Module:Wikibase at line 22: attempt to index field 'wikibase' (a nil value).{{Label|Q5}}→ Script error: The function "label|Q5" does not exist.{{Label|P31}}→ Script error: The function "label|P31" does not exist.
- Leading/trailing white space
{{Label | Q5 }}→ Script error: The function "label| Q5" does not exist.{{Label | P31 }}→ Script error: The function "label| P31" does not exist.
- Lower case
{{Label | q5 }}→ Script error: The function "label| q5" does not exist.{{Label | p31 }}→ Script error: The function "label| p31" does not exist.
See also
{{LinkedLabel}}{{Wikidata entity link}}{{Wikidata property link}}{{#invoke:Wikidata label|getLabel}}- d:Template:Label
- c:Template:Label
| The above documentation is transcluded from Template:Label/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |