Difference between revisions of "Template:LinkedLabel/doc"

From blackwiki
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>{{#switch:{{SUBPAGENAME}}|sandbox=|#default=
+
<includeonly>{{Sandbox other||
 
[[Category:Wikidata templates]]
 
[[Category:Wikidata templates]]
 
}}</includeonly>
 
}}</includeonly>

Revision as of 00:03, 26 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