Template:Label/doc

From blackwiki
< Template:Label
Revision as of 10:54, 16 April 2014 by imported>John Vandenberg (start)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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:Wd at line 196: attempt to index field 'wikibase' (a nil value).
  • {{label|Q1|en}}: Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).
  • {{label|Q1|es}}: Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).
  • {{label|P31}}: Lua error in Module:Wd at line 196: attempt to index field 'wikibase' (a nil value).

The language code parameter does not work yet. It will be optional; if not provided it will default to English.