Template:Language/archives/MultiPage/doc: Difference between revisions
Jump to navigation
Jump to search
1416006136 (talk | contribs) (descriptions for parameters) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Doc/subpage}} | {{Doc/subpage}} | ||
Replacement for {{tl|lang}}. | Replacement for {{tl|lang}}. | ||
== Parameters and Examples == | == Parameters and Examples == |
Revision as of 14:52, 18 March 2023

This is a documentation subpage for Template:Language.
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.
Replacement for {{lang}}
.
Parameters and Examples
Parameter | Description | Example |
---|---|---|
No Parameters | The template will look for translation subpages and load one of them according to the interface language. The template will load the English version and display a message if the translation subpage does not exist. The template will only display a message if there are not any translations and the English version does not exist. | |
{{{page}}} | Optional: The page that the template create multi-language links according to. | |
{{{basepage}}} | Optional: If the translations are in subpages that are level 2 or above, this can specify what the root page name is. | |
{{{title}}} | Optional: This parameter can be used to change the text of the page titlebar (logically, into the text that should be displayed for the language of the page). | |
{{{margin-right}}} | Optional: The right margin of the buttons that are to the right top. |
Examples
Other
Language | Page name | Icon | Icon Template |
---|---|---|---|
English | Page_name/en | ![]() |
{{en}}
|
Catalan | Page_name/ca | ![]() |
{{ca}}
|
Czech | Page_name/cs | ![]() |
{{cz}}
|
German | Page_name/de | ![]() |
{{de}}
|
Spanish | Page_name/es | ![]() |
{{es}}
|
Estonian | Page_name/et | ![]() |
{{et}}
|
French | Page_name/fr | ![]() |
{{fr}}
|
Hungarian | Page_name/hu | ![]() |
{{hu}}
|
Greek | Page_name/el | ![]() |
{{el}}
|
Italian | Page_name/it | ![]() |
{{it}}
|
Dutch | Page_name/nl | ![]() |
{{nl}}
|
Norwegian | Page_name/no | ![]() |
{{norway}}
|
Polish | Page_name/pl | ![]() |
{{pl}}
|
Portuguese | Page_name/pt | ![]() |
{{pt}}
|
Portuguese (Brazilian) | Page_name/pt-br | ![]() |
{{pt-br}}
|
Russian | Page_name/ru | ![]() |
{{ru}}
|
Ukrainian | Page_name/uk | ![]() |
{{uk}}
|
Swedish | Page_name/sv | ![]() |
{{sv}}
|
Turkish | Page_name/tr | ||
{{tr}}
| |||
Japanese | Page_name/ja | ![]() |
{{ja}}
|
Chinese (PRC) | Page_name/zh | ![]() |
{{zh}}
|
Chinese (Taiwan) | Page_name/zh-tw | ![]() |
{{zh-tw}}
|
Korean | Page_name/ko | ![]() |
{{ko}}
|
Georgian | Page_name/ka | ![]() |
{{ka}}
|
Hebrew | Page_name/he | ![]() |
{{he}}
|