Template:Translations/lang

From Wikimedia Incubator
Jump to navigation Jump to search
Use
  • {{Translations/lang|lang}} for translations of the current page.
  • {{Translations/lang|lang|fullpagename}} for translations of another page.
Forcing display of a link
You can set the optional parameter |all= to a non-empty value to generate a link without testing the existence of the target page.
Examples
  • {{Translations/lang|lang|all=1}} for translation in the specified language of the current page, gives " · lang"
  • {{Translations/lang|lang|Category:(-ALL-)|all=1}} for translation in the specified language of another page (given its full pagename), gives " · lang"
  • {{Translations/lang|lang|:Category:(-ALL-)|all=1}} for translation in the specified language of another page (with an optional leading colon), gives " · lang"