Template:LanguageNavBar

From ChoralWiki
Revision as of 14:00, 20 May 2013 by Carlos (talk | contribs) (adding Slovene)
Jump to navigation Jump to search
Languages Languages:

English

Syntax
{{LanguageNavBar}}
{{LanguageNavBar|<page_name>}}
<page_name>
Optional - the name of the page to display language links for. If omitted then the English version of the current page is used. If this parameter is used on a sub-page make sure you supply the root name, not the full page name (e.g. on Main Page/vi you would need to use {{LanguageNavBar|Main Page}} and not {{LanguageNavBar|Main Page/vi}}).


The template should only be placed on pages that exist in more than one language, and it should be placed in the same location on each translation of the page. The English version is always the main version, with all other languages as sub-pages, named using the appropriate language code.

For example, on the Main Page you would include the text {{LanguageNavBar}}, both on Main Page itself, and on each of its language sub-pages. The template automatically creates links to any language sub-pages that exist, e.g. Main Page/vi, and ignores non-existant languages.

Currently the template recognizes the following languages. New languages may be added as needed.

de - German
en - English (default)
es - Spanish
fr - French
it - Italian
nl - Dutch
pt - Portuguese
sl - Slovene
vi - Vietnamese