Difference between revisions of "Template:LinkedLabel/doc"
Jump to navigation
Jump to search
imported>Uzume (+) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 23: | Line 23: | ||
* {{tlx|Wikidata property link}} | * {{tlx|Wikidata property link}} | ||
| − | <includeonly>{{ | + | <includeonly>{{Sandbox other|| |
[[Category:Wikidata templates]] | [[Category:Wikidata templates]] | ||
}}</includeonly> | }}</includeonly> | ||
Revision as of 00:03, 26 April 2020
| File:Edit-copy green.svg | This is a documentation subpage for Template:LinkedLabel. It contains usage information, categories and other content that is not part of the original template page. |
| 30px | This template uses Lua: |
This template gets the linked label of a Wikidata item or property.
Usage examples
- Standard usage
{{LinkedLabel}}→ Template:Wikidata{{LinkedLabel|Q5}}→ Template:Wikidata{{LinkedLabel|P31}}→ Template:Wikidata
- Leading/trailing white space
{{LinkedLabel | Q5 }}→ Template:Wikidata{{LinkedLabel | P31 }}→ Template:Wikidata
- Lower case
{{LinkedLabel | q5 }}→ Template:Wikidata{{LinkedLabel | p31 }}→ Template:Wikidata
See also
{{Label}}{{Wikidata entity link}}{{Wikidata property link}}