Template:Label: Difference between revisions

From wikibase
Created page with "{{#if:{{{item|{{{1|}}} }}}| {{#invoke:Wikidata label|getLabel |item={{{item|{{{1|}}} }}} |lang={{{lang|{{{2|}}} }}} |link={{{link|-}}} |capitalization={{{capitalization|none}}} |show_id={{{show_id|}}} }} }}"
 
No edit summary
Line 1: Line 1:
{{#if:{{{item|{{{1|}}} }}}|
<noinclude>
== Usage ==
This template returns the label for a particular entity (item or property), using [[Module:Wikidata label]].
 
{{Tlxp|Label|Q10|link=-}} → {{Label|Q10|link=-}}
 
{{Tlxp|Label|Q120751464|3=link=wikidata}} → {{Label|Q120751464|link=wikidata}}
 
</noinclude>{{#if:{{{item|{{{1|}}} }}}|
   {{#invoke:Wikidata label|getLabel
   {{#invoke:Wikidata label|getLabel
     |item={{{item|{{{1|}}} }}}
     |item={{{item|{{{1|}}} }}}

Revision as of 10:04, 17 December 2024

Usage

This template returns the label for a particular entity (item or property), using Module:Wikidata label.

<templatestyles src="Template:Mono/styles.css"/><templatestyles src="Template:Nowrap/styles.css"/>{{Label|Q10}} → Along the Briny Beach

<templatestyles src="Template:Mono/styles.css"/><templatestyles src="Template:Nowrap/styles.css"/>{{Label|Q120751464|link=wikidata}}Q120751464