Template:Languages: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (improve source readability)
(no point doing this. it's an english site.)
Line 1: Line 1:
{{#sub:<!--
{{#sub:<!--
-->{{#ifeq:{{{de}}}|y|<br>{{hover|Deutsch|German}}{{{de_note|}}}}}<!--
-->{{#ifeq:{{{de}}}|y|<br>German{{{de_note|}}}}}<!--
-->{{#ifeq:{{{en}}}|y|<br>{{hover|English|English}}{{{en_note|}}}}}<!--
-->{{#ifeq:{{{en}}}|y|<br>English{{{en_note|}}}}}<!--
-->{{#ifeq:{{{en_gb}}}|y|<br>{{hover|English (United Kingdom)|English (United Kingdom)}}{{{en_gb_note|}}}}}<!--
-->{{#ifeq:{{{en_gb}}}|y|<br>English (United Kingdom){{{en_gb_note|}}}}}<!--
-->{{#ifeq:{{{en_us}}}|y|<br>{{hover|English (United States)|English (United States)}}{{{en_us_note|}}}}}<!--
-->{{#ifeq:{{{en_us}}}|y|<br>English (United States){{{en_us_note|}}}}}<!--
-->{{#ifeq:{{{es}}}|y|<br>{{hover|Español|Spanish}}{{{es_note|}}}}}<!--
-->{{#ifeq:{{{es}}}|y|<br>Spanish{{{es_note|}}}}}<!--
-->{{#ifeq:{{{es_es}}}|y|<br>{{hover|Español (España)|Spanish (Spain)}}{{{es_es_note|}}}}}<!--
-->{{#ifeq:{{{es_es}}}|y|<br>Spanish (Europe){{{es_es_note|}}}}}<!--
-->{{#ifeq:{{{es_latam}}}|y|<br>{{hover|Español (Latinoamérica)|Spanish (Latin America)}}{{{es_latam_note|}}}}}<!--
-->{{#ifeq:{{{es_latam}}}|y|<br>Spanish (Latin America){{{es_latam_note|}}}}}<!--
-->{{#ifeq:{{{fr}}}|y|<br>{{hover|Français|French}}{{{fr_note|}}}}}<!--
-->{{#ifeq:{{{fr}}}|y|<br>French{{{fr_note|}}}}}<!--
-->{{#ifeq:{{{fr_ca}}}|y|<br>{{hover|Français (Canada)|French (Canada)}}{{{fr_ca_note|}}}}}<!--
-->{{#ifeq:{{{fr_ca}}}|y|<br>French (Canada){{{fr_ca_note|}}}}}<!--
-->{{#ifeq:{{{fr_fr}}}|y|<br>{{hover|Français (France)|French (France)}}{{{fr_fr_note|}}}}}<!--
-->{{#ifeq:{{{fr_fr}}}|y|<br>French (Europe)}}{{{fr_fr_note|}}}}}<!--
-->{{#ifeq:{{{it}}}|y|<br>{{hover|Italiano|Italian}}{{{it_note|}}}}}<!--
-->{{#ifeq:{{{it}}}|y|<br>Italian{{{it_note|}}}}}<!--
-->{{#ifeq:{{{nl}}}|y|<br>{{hover|Nederlands|Dutch}}{{{nl_note|}}}}}<!--
-->{{#ifeq:{{{nl}}}|y|<br>Dutch{{{nl_note|}}}}}<!--
-->{{#ifeq:{{{pt}}}|y|<br>{{hover|Português|Portuguese}}{{{pt_note|}}}}}<!--
-->{{#ifeq:{{{pt}}}|y|<br>Portuguese{{{pt_note|}}}}}<!--
-->{{#ifeq:{{{pt_br}}}|y|<br>{{hover|Português (Brasil)|Portuguese (Brazil)}}{{{pt_br_note|}}}}}<!--
-->{{#ifeq:{{{pt_br}}}|y|<br>Portuguese (Brazil){{{pt_br_note|}}}}}<!--
-->{{#ifeq:{{{pt_pt}}}|y|<br>{{hover|Português (Portugal)|Portuguese (Portugal)}}{{{pt_pt_note|}}}}}<!--
-->{{#ifeq:{{{pt_pt}}}|y|<br>Portuguese (Portugal){{{pt_pt_note|}}}}}<!--
-->{{#ifeq:{{{ru}}}|y|<br>{{hover|Русский|Russian}}{{{ru_note|}}}}}<!--
-->{{#ifeq:{{{ru}}}|y|<br>Russian{{{ru_note|}}}}}<!--
-->{{#ifeq:{{{kr}}}|y|<br>{{hover|한국어|Korean}}{{{kr_note|}}}}}<!--
-->{{#ifeq:{{{kr}}}|y|<br>Korean{{{kr_note|}}}}}<!--
-->{{#ifeq:{{{jp}}}|y|<br>{{hover|日本語|Japanese}}{{{jp_note|}}}}}<!--
-->{{#ifeq:{{{jp}}}|y|<br>Japanese}}{{{jp_note|}}}}}<!--
-->{{#ifeq:{{{zh_simp}}}|y|<br>{{hover|简体中文|Simplified Chinese}}{{{zh_simp_note|}}}}}<!--
-->{{#ifeq:{{{zh_simp}}}|y|<br>Simplified Chinese{{{zh_simp_note|}}}}}<!--
-->{{#ifeq:{{{zh_trad}}}|y|<br>{{hover|繁體中文|Traditional Chinese}}{{{zh_trad_note|}}}}}<!--
-->{{#ifeq:{{{zh_trad}}}|y|<br>Traditional Chinese{{{zh_trad_note|}}}}}<!--
-->|4}}<noinclude>{{/doc}}</noinclude>
-->|4}}<noinclude>{{/doc}}</noinclude>

Revision as of 14:59, June 14, 2024

}}|4}}Usually used to fill out the |languages= in various infoboxes, most commonly {{game infobox}}.

Value Result
|en=y English
|en_us=y English (United States)
|en_gb=y English (United Kingdom)
|jp=y Japanese
|zh_simp=y Simplified Chinese
|zh_trad=y Traditional Chinese
|nl=y Dutch
|fr=y French
|fr_fr=y French (France)
|fr_ca=y French (Canada)
|de=y German
|it=y Italian
|kr=y Korean
|pt=y Portuguese
|pt_br=y Portuguese (Brazil)
|pt_pt=y Portuguese (Portugal)
|ru=y Russian
|es=y Spanish
|es_es=y Spanish (Spain)
|es_latam=y Spanish (Latin America)

A correct use of the template would be e.g. {{languages|en_us=y|en_gb=y|jp=y|nl=y}}. No other values than y are accepted for each language. If a language is not available for a game, the language should be removed from the row entirely.

If specific countries are listed for a language, it's usually the primary market of the region (The Americas, Europe, Australia) that commissioned the translation. So while smaller markets in the region use the same language, for instance, but not limited to, Canada for Americas+English, Republic of Ireland for Europe+English, and Haiti for Americas+French, only the primary markets are listed.

If it would make no sense to distinguish between The Americas and Europe text lines, or if they have the same value, en/es/fr/pt can be used instead of country designators.

Full set of template options, with all of them set to y for "Yes" by default:
{{languages|en=y|en_gb=y|en_us=y|jp=y|de=y|es=y|es_es=y|es_latam=y|fr=y|fr_fr=y|fr_ca=y|it=y|kr=y|nl=y|pt=y|pt_br=y|pt_pt=y|ru=y|zh_simp=y|zh_trad=y}}

Using the entire full set without removing any languages, results in the below list:


German
English
English (United Kingdom)
English (United States)
Spanish
Spanish (Europe)
Spanish (Latin America)
French
French (Canada)
French (Europe)
Italian
Dutch
Portuguese
Portuguese (Brazil)
Portuguese (Portugal)
Russian
Korean
Japanese}}
Simplified Chinese
Traditional Chinese|4}}

The template is not to be mistaken for {{foreign names}} or {{names in other languages}}.