Template:Otherlang2
From Valve Developer Community
See also: Template:Lang
This template adds available translations for the page to the top through the use of flags.
To prevent issues, this template must be placed at the very beginning of a page.


Syntax
{{otherlang2 | noborder=true (OPTIONAL) | title=localized page display title | lang=page:lang | lang2=page:lang2 | etc... }}
Warning: Do not include the language of the current page. This will only confuse readers.
Example
On a page called Category:Programming:es:
{{otherlang2 | title=Categoría:Programación | de=Category:Programming:de | en=Category:Programming | jp=Category:Programming:jp | pl=Category:Programming:pl | ru=Category:Programming:ru | zh-cn=Category:Programming:zh-cn }}
Note that:
- The language "
es
" is not included, as it is the language of the page that template is being used on. -
title
is assigned the translated name of the page, and will appear as the display title (heading) for the page. This can replace the existing {{wrongtitle}} and {{DISPLAYTITLE}} templates currently in common use. - The English page has no suffix.