Template:Label/doc
Appearance
| This is a documentation subpage for Template:Label. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on approximately 36,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. |
| This template uses Lua: |
This template gets the label of a Wikidata item or property.
Usage examples
[edit]- Standard usage
{{Label}}→{{Label|Q5}}→ human{{Label|P31}}→ instance of
- Leading/trailing white space
{{Label | Q5 }}→ human{{Label | P31 }}→ instance of
- Lower case
{{Label | q5 }}→ human{{Label | p31 }}→ instance of
See also
[edit]{{LinkedLabel}}{{Wikidata entity link}}{{Wikidata property link}}{{Get QID}}, the inverse template- d:Template:Label
- c:Template:Label