(Created page with "<noinclude> {{otherlang |ru=Template:Otherlang:ru }} This template adds available translations for the page to the top through the use of flags. To prevent issues, this templ...") |
mNo edit summary |
||
Line 51: | Line 51: | ||
|en=Page_name | |en=Page_name | ||
|[[File:En.png]] | |[[File:En.png]] | ||
|- id="ru" | |- id="ru" | ||
|Russian | |Russian |
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.
{{otherlang | noborder=true (OPTIONAL) | title=localized page display title | lang=page:lang | lang2=page:lang2 | etc... }}
On a page called Category:Programming:es:
{{otherlang | 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:
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.Language | Syntax | Result |
---|---|---|
English | en=Page_name | |
Russian | ru=Page_name:ru |
Do you need a wiki for your Minecraft mod/gaming wiki? We'll host it for free! Contact us.