Difference between revisions of "Template:Label/doc"

From RobotX
Jump to navigation Jump to search
Mediawiki>Jeblad
(Created page with "{{documentation subpage}} {{Lua|Module:Wikibase signature}} This template gets the label of an item or property, and should stay in sync with the same template as d:Template...")
 
m (1 revision imported)
 
(No difference)

Latest revision as of 03:33, 1 December 2019

This template gets the label of an item or property, and should stay in sync with the same template as d:Template:Label.

Examples:

  • {{label|Q1}}: Lua error in Module:Wikibase_signature at line 31: no mw.wikibase.
  • {{label|Q1|en}}: Lua error in Module:Wikibase_signature at line 31: no mw.wikibase.
  • {{label|Q1|es}}: Lua error in Module:Wikibase_signature at line 31: no mw.wikibase.
  • {{label|P31}}: Lua error in Module:Wikibase_signature at line 31: no mw.wikibase.

The language code parameter is optional; if not provided it will default to the local language.