Template:LanguageBar/doc
![Edit-copy.png](/w/images/thumb/7/78/Edit-copy.png/40px-Edit-copy.png)
This is a documentation subpage for Template:LanguageBar.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
Don't forget to purge the contents of the base page upon creating or editing this subpage.
This template creates a language bar that's shown on the upper right corner of the page. The language of a page is determined by language prefixes (like Zh/
, Ru/
, etc) instead of interface language.
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
![Icon-Important.png](/w/images/thumb/5/5c/Icon-Important.png/10px-Icon-Important.png)
{{language}}
)
This template also applies Category:Translation. (see the category for more details)
Parameters and Examples
Parameter | Description | Example |
---|---|---|
No Parameters | Check for various language translations for this page and create flags for them. | |
{{{title}}} |
Allows you to change the title of a page. | |
{{{_}}} |
If title param is not used and not in Category namespace then SUBPAGENAME is automatically set as title which doesn't have underscores. Setting this parameter keeps the underscores. |
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
{{lang}}
, {{langsp}}
, {{language subpage}}
on pages rewrite them to use LanguageBar. Internally they were edited to use LanguageBar only remaining step is just rewriting them on the used pages. See categories Category:TODO rewrite lang to LanguageBar and Category:TODO rewrite langsp to LanguageBar
See Also
- Category:Translation
{{L}}
{{Language}}