Difference between revisions of "Template:LinkedLabel/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Uzume
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
{{Lua|Module:Wd}}
 
 
This template gets the linked label of a [[Wikidata]] item or property.
 
This template gets the linked label of a [[Wikidata]] item or property.
  
Line 22: Line 21:
 
* {{tlx|Wikidata entity link}}
 
* {{tlx|Wikidata entity link}}
 
* {{tlx|Wikidata property link}}
 
* {{tlx|Wikidata property link}}
 +
* {{tlx|Wikidata}}
  
 
<includeonly>{{Sandbox other||
 
<includeonly>{{Sandbox other||
 
[[Category:Wikidata templates]]
 
[[Category:Wikidata templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 02:10, 29 April 2020

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