This is a documentation subpage for Template:LinkedLabel. It may contain usage information, categories and other content that is not part of the original template page. |
File:Icon tools.svg | This template uses {{Wikidata}} , a meta-template for easily creating and maintaining templates. Any recently appearing error or display issue which is not obviously caused by a recent edit to this template is probably due to an error in, or recent update to, Template:Wikidata or one of its subpages. Please report any such errors to Template talk:Wikidata, so that any errors can be fixed for this and other projects. |
This template doc page is closely interconnected with other templates or pages.
This template may:
You are encouraged to familiarize yourself with its setup, and with related files. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. |
This template uses Lua: |
This template gets the linked label of a Wikidata item or property.
Usage examples
- Standard usage
{{LinkedLabel}}
→ Script error: No such module "Wd".{{LinkedLabel|Q5}}
→ Script error: No such module "Wd".{{LinkedLabel|P31}}
→ Script error: No such module "Wd".
- Leading/trailing white space
{{LinkedLabel | Q5 }}
→ Script error: No such module "Wd".{{LinkedLabel | P31 }}
→ Script error: No such module "Wd".
- Lower case
{{LinkedLabel | q5 }}
→ Script error: No such module "Wd".{{LinkedLabel | p31 }}
→ Script error: No such module "Wd".
See also
{{Label}}
{{Wikidata entity link}}
{{Wikidata property link}}
{{Wikidata}}