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...")
(No difference)

Revision as of 23:31, 28 May 2016

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.