Template:Languages: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<!--       LANG CODE         LANGUAGE
<!--     LANG CODE       LANGUAGE
-->{{#ifeq:{{{en}}}|y|      English{{{en_note|}}}<br>}}<!--
-->{{#if:{{{en|}}}|      English{{{en_note|}}}<br>}}<!--
-->{{#ifeq:{{{en_gb}}}|y|    English (United Kingdom){{{en_gb_note|}}}<br>}}<!--
-->{{#if:{{{en_gb|}}}|    English (United Kingdom){{{en_gb_note|}}}<br>}}<!--
-->{{#ifeq:{{{en_us}}}|y|    English (United States){{{en_us_note|}}}<br>}}<!--
-->{{#if:{{{en_us|}}}|    English (United States){{{en_us_note|}}}<br>}}<!--
-->{{#ifeq:{{{jp}}}|y|      Japanese{{{jp_note|}}}<br>}}<!--
-->{{#if:{{{jp|}}}|      Japanese{{{jp_note|}}}<br>}}<!--
-->{{#ifeq:{{{zh_simp}}}|y|  Simplified Chinese{{{zh_simp_note|}}}<br>}}<!--
-->{{#if:{{{zh_simp|}}}|  Simplified Chinese{{{zh_simp_note|}}}<br>}}<!--
-->{{#ifeq:{{{zh_trad}}}|y|  Traditional Chinese{{{zh_trad_note|}}}<br>}}<!--
-->{{#if:{{{zh_trad|}}}|  Traditional Chinese{{{zh_trad_note|}}}<br>}}<!--
-->{{#ifeq:{{{nl}}}|y|      Dutch{{{nl_note|}}}<br>}}<!--
-->{{#if:{{{nl|}}}|      Dutch{{{nl_note|}}}<br>}}<!--
-->{{#ifeq:{{{fr}}}|y|      French{{{fr_note|}}}<br>}}<!--
-->{{#if:{{{fr|}}}|      French{{{fr_note|}}}<br>}}<!--
-->{{#ifeq:{{{fr_ca}}}|y|    French (Canada){{{fr_ca_note|}}}<br>}}<!--
-->{{#if:{{{fr_ca|}}}|    French (Canada){{{fr_ca_note|}}}<br>}}<!--
-->{{#ifeq:{{{fr_fr}}}|y|    French (Europe){{{fr_fr_note|}}}<br>}}<!--
-->{{#if:{{{fr_fr|}}}|    French (Europe){{{fr_fr_note|}}}<br>}}<!--
-->{{#ifeq:{{{de}}}|y|      German{{{de_note|}}}<br>}}<!--
-->{{#if:{{{de|}}}|      German{{{de_note|}}}<br>}}<!--
-->{{#ifeq:{{{it}}}|y|      Italian{{{it_note|}}}<br>}}<!--
-->{{#if:{{{it|}}}|      Italian{{{it_note|}}}<br>}}<!--
-->{{#ifeq:{{{kr}}}|y|      Korean{{{kr_note|}}}<br>}}<!--
-->{{#if:{{{kr|}}}|      Korean{{{kr_note|}}}<br>}}<!--
-->{{#ifeq:{{{pt}}}|y|      Portuguese{{{pt_note|}}}<br>}}<!--
-->{{#if:{{{pt|}}}|      Portuguese{{{pt_note|}}}<br>}}<!--
-->{{#ifeq:{{{pt_br}}}|y|    Portuguese (Brazil){{{pt_br_note|}}}<br>}}<!--
-->{{#if:{{{pt_br|}}}|    Portuguese (Brazil){{{pt_br_note|}}}<br>}}<!--
-->{{#ifeq:{{{pt_pt}}}|y|    Portuguese (Portugal){{{pt_pt_note|}}}<br>}}<!--
-->{{#if:{{{pt_pt|}}}|    Portuguese (Portugal){{{pt_pt_note|}}}<br>}}<!--
-->{{#ifeq:{{{ru}}}|y|      Russian{{{ru_note|}}}<br>}}<!--
-->{{#if:{{{ru|}}}|      Russian{{{ru_note|}}}<br>}}<!--
-->{{#ifeq:{{{es}}}|y|      Spanish{{{es_note|}}}<br>}}<!--
-->{{#if:{{{es|}}}|      Spanish{{{es_note|}}}<br>}}<!--
-->{{#ifeq:{{{es_es}}}|y|    Spanish (Europe){{{es_es_note|}}}<br>}}<!--
-->{{#if:{{{es_es|}}}|    Spanish (Europe){{{es_es_note|}}}<br>}}<!--
-->{{#ifeq:{{{es_latam}}}|y| Spanish (Latin America){{{es_latam_note|}}}<br>}}<!--
-->{{#if:{{{es_latam|}}}| Spanish (Latin America){{{es_latam_note|}}}<br>}}<!--
--><noinclude>{{/doc}}</noinclude>
--><noinclude>{{/doc}}</noinclude>

Revision as of 15:42, June 14, 2024

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:

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

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