Template:MultiPage

El Valve Developer Community
Iri al: navigado, serĉi
Warning.pngAverto:Do not use this template on template pages! We are working towards having universal templates for all languages, meaning that we no longer need "<template name>:<lang code>", and we can just use an automatically translated template. Using this translation method would undermine all the work we have been putting in for months now. Instead, use {{Autolang}} for translations, and for previewing languages on template pages, uses "{{Uselangflags}}" with noinclude. This will allow for automatically changing the language used in the template while not creating 8 different pages for one template.
Icon-Bug.pngErareto:Causes some pages, such as List of Team Fortress 2 console commands and variables to not render because of too many templates included.
PlacementTip.pngAlisolvo: Copy/Paste the following instead of {{MultiPage}} on the affected pages:
{{ulf|en=1|<other languages used>|multipageworkaround=1}} {{:{{FULLPAGENAME}}/{{uselang}}}}

This will allow the page to display properly and give the illusion of visual parity with other MultiPage pages. Make sure to visit {{Uselangflags}} for documentation about this template.

This SHOULD NOT be used unless absolutely necessary! This is only a temporary fix until we find a way to fix this issue!

Blank image.pngFaru: remove forced line break before page contents when text comes before this template.
Curly brackets white.pngŜablona Prio
Icon-translate.png
Vidi
Redakti
Historio de paĝo
Icon-translate.png
This template uses a strings subpage
Please follow the format on this subpage(s) to add translations.
Info content.png
This translated page needs to be updated.

Ĉi tradukita paĝo bezonate ĝisdatiĝi

Vi povas helpi per ĝisdatigi la tradukon.

Ankaŭ jesigu ke la artikolo prove laŭleĝas la alilingvajn gvidilojn.

Anstataŭigo al {{lang}}.

Parametroj kaj Ekzemploj

Parametro Prio Ekzemplo
Neniaj Parametroj 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.
{{MultiPage}}
{{{page}}} (paĝo) Optional: The page that the template create multi-language links according to.
Note.pngNoto:Capitalization matters, even on the first letter of the page name! Underscores must be replaced with spaces. ai_changehintgroup must be written as Ai changehintgroup. However, this parameter can be omitted if the page name is without a suffix.
{{MultiPage|page=Main Page}}
{{{basepage}}} (bazpaĝo) Optional: If the translations are in subpages that are level 2 or above, this can specify what the root page name is.
Note.pngNoto:Capitalization matters, even on the first letter of the page name! Underscores must be replaced with spaces. ai_changehintgroup must be written as Ai changehintgroup. However, this parameter can be omitted if the page name is without a suffix.
{{MultiPage|page=Template:Doc/doc|basepage=Template:Doc}}
{{{title}}} (titolo) 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).
Warning.pngAverto:On some pages you may receive this error: Warning: Display title "env_cubemap" overrides earlier display title "<code>Env cubemap</code>". This can be due to the fact that the page uses a different template in which the page title is set.
Note.pngNoto:If you want to change the title, use the parameter {{{title}}} of {{Language subpage}} in language subpages so that the title will change automatically. Otherwise, you can
{{MultiPage|{{{1|}}}|title=My sweet page}}
for non-translatable title.
{{MultiPage|title=Main Page}}
{{{margin-right}}} Optional: The right margin of the buttons that are to the right top.
{{MultiPage|title=Main Page|margin-right=26px}}

Ekzemploj

{{MultiPage}}
Note.pngNoto:Se vi volas ŝanĝi la titolon, uzu la parametron {{{title}}} de {{Language subpage}} en lingvaj filpaĝoj do la titolo ŝanĝiĝi meme. Alikaze, vi povas skribi
{{MultiPage|title = Mia sukereca paĝo}}
por netradukebla titolo.

Alia

Nune Subtenataj Lingvoj
Lingvo Paĝnomo Icon
Angla Paĝnomo/en English (en)
Kataluna Paĝnomo/ca Català (ca)
Ĉeĥa Paĝnomo/cs Čeština (cs)
Germana Paĝnomo/de Deutsch (de)
Hispana Paĝnomo/es Español (es)
Esperanto Paĝnomo/eo Esperanto (eo)
Estona Paĝnomo/et Eesti (et)
Franca Paĝnomo/fr Français (fr)
Hungaria Paĝnomo/hu Magyar (hu)
Greka Paĝnomo/el Ελληνικά (el)
Itala Paĝnomo/it Italiano (it)
Nederlanda Paĝnomo/nl Nederlands (nl)
Norvega Paĝnomo/no Norsk (no)
Pola Paĝnomo/pl Polski (pl)
Portugala Paĝnomo/pt Português (pt)
Portugala (Brazila) Paĝnomo/pt-br Português do Brasil (pt-br)
Rusa Paĝnomo/ru Русский (ru)
Ukraina Paĝnomo/uk Українська (uk)
Sveda Paĝnomo/sv Svenska (sv)
Turka Paĝnomo/tr Türkçe (tr)
Japana Paĝnomo/ja 日本語 (ja)
Hinda Paĝnomo/hi हिन्दी (hi)
Vjetnama Paĝnomo/vi Tiếng Việt (vi)
Ĉina (ĈPR) Paĝnomo/zh 中文 (zh)
Ĉina (Tajvano) Paĝnomo/zh-tw 中文(台灣)‎ (zh-tw)
Korea Paĝnomo/ko 한국어 (ko)
Kartvela Paĝnomo/ka ქართული (ka)
Hebrea Paĝnomo/he עברית (he)