![]() |
PZwiki Update Project — Project Zomboid has received its largest update ever. We need your help to get the wiki updated to build 41! Want to get started? See the community portal or join the discussion on the official Discord (pzwiki_editing). We appreciate any level of contribution. |
Template:Languages
Jump to navigation
Jump to search
![]() |
This page has been put into protection by a PZwiki administrator so that only users in the sysop user group may edit this page.
Reason: This template is considered High Risk as it appears on multiple pages. |
A language bar to provide a link to each language the article can be found in. Uses
{{Languages/Lang}}
for logic. Pages will automatically be added to a language category based on the subpage.
Syntax
{{Languages}}
- PageName (optional) – the name of the page to display language links for. If omitted, then the English version of the current page is used. This parameter can normally be omitted, as it is only required if you want to link to a page other than the one you place the template on, which is very uncommon. 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/fr you would need to use
{{Languages|Main Page}}
and not{{Languages|Main Page/fr}}
).
Usage
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 of a page is always the main version, with all other languages as sub-pages, named using the appropriate language code (see below).
For example, on the Main Page you would include the text {{Languages}}
, 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/fr, and ignores nonexistent languages.
See Project:Language policy for further details about translating pages.
Suppоrted languages
Page name | Language | Language (local) |
---|---|---|
Main Page | English | English |
Main Page/cs | Czech | čeština |
Main Page/de | German | Deutsch |
Main Page/es | Spanish | español |
Main Page/fr | French | français |
Main Page/hu | Hungarian | magyar |
Main Page/it | Italian | italiano |
Main Page/ja | Japanese | 日本語 |
Main Page/ko | Korean | 한국어 |
Main Page/nl | Dutch | Nederlands |
Main Page/no | Norwegian | norsk |
Main Page/pl | Polish | polski |
Main Page/pt | Portuguese | português |
Main Page/pt-br | Brazilian Portuguese | português do Brasil |
Main Page/ru | Russian | русский |
Main Page/th | Thai | ไทย |
Main Page/tr | Turkish | Türkçe |
Main Page/uk | Ukrainian | українська |
Main Page/zh-hans | Chinese (Simplified) | 中文(简体) |
Main Page/zh-hant | Chinese (Traditional) | 中文(繁體) |
Example
Here is how the language bar looks on the Main Page:
![]() |
English • čeština • Deutsch • español • français • magyar • italiano • 日本語 • 한국어 • Nederlands • norsk • polski • português • português do Brasil • русский • ไทย • Türkçe • українська • 中文(简体) • 中文(繁體) |
See also
Documentation transcluded from Template:Languages/doc.
Editors can experiment in this template's sandbox (create)
Editors can experiment in this template's sandbox (create)