Template:Languages: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Created page with "{{#if:{{{en_us|}}}{{{en_uk|}}}{{{es_es}}}{{{es_mx}}}{{{fr_fr|}}}{{{fr_ca|}}}{{{de}}}{{{it}}}{{{nl}}}{{{ru}}}{{{pt_pt}}}{{{pt_br}}}{{{jp}}}{{{kr}}}{{{zh_simp}}}{{{zh_trad}}}|{{...")
 
(It's best to stick to the official nomenclature, games and system use the actual country names)
 
(26 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{#if:{{{en_us|}}}{{{en_uk|}}}{{{es_es}}}{{{es_mx}}}{{{fr_fr|}}}{{{fr_ca|}}}{{{de}}}{{{it}}}{{{nl}}}{{{ru}}}{{{pt_pt}}}{{{pt_br}}}{{{jp}}}{{{kr}}}{{{zh_simp}}}{{{zh_trad}}}|{{!}}-
<!--    LANG CODE        LANGUAGE
{{!}} '''Language(s)'''
-->{{#if:{{{en|}}}|      English{{{en_note|}}}<br>}}<!--
{{!}} {{#ifeq:{{{en_us}}}|y|English (United States){{{en_us_note|}}}}} {{#ifeq:{{{en_gb}}}|y|<br/>English (United Kingdrom){{{en_uk_note|}}}}} {{#ifeq:{{{es_es}}}|y|<br/>Spanish (Spain){{{es_es_note|}}}}} {{#ifeq:{{{es_mx}}}|y|<br/>Spanish (Mexico){{{es_mx_note|}}}}} {{#ifeq:{{{fr_fr}}}|y|<br/>French (France){{{fr_fr_note|}}}}} {{#ifeq:{{{fr_ca}}}|y|<br/>French (Canada){{{fr_ca_note|}}}}} {{#ifeq:{{{de}}}|y|<br/>German{{{de_note|}}}}}
-->{{#if:{{{en_gb|}}}|    English (United Kingdom){{{en_gb_note|}}}<br>}}<!--
{{#ifeq:{{{it}}}|y|<br/>Italian{{{it_note|}}}}} {{#ifeq:{{{nl}}}|y|<br/>Dutch{{{nl_note|}}}}} {{#ifeq:{{{ru}}}|y|<br/>Russian{{{ru_note|}}}}} {{#ifeq:{{{pt_pt}}}|y|<br/>Portuguese (Portugal){{{pt_pt_note|}}}}} {{#ifeq:{{{pt_br}}}|y|<br/>Portuguese (Brazil){{{pt_br_note|}}}}} {{#ifeq:{{{jp}}}|y|<br/>Japanese{{{jp_note|}}}}} {{#ifeq:{{{kr}}}|y|<br/>Korean{{{kr_note|}}}}} {{#ifeq:{{{zh_simp}}}|y|<br/>Chinese (Simplified){{{zh_simp_note|}}}}} {{#ifeq:{{{zh_trad}}}|y|<br/>Chinese (Traditional){{{zh_trad_note|}}}}}
-->{{#if:{{{en_us|}}}|    English (United States){{{en_us_note|}}}<br>}}<!--
-->{{#if:{{{fr|}}}|      French{{{fr_note|}}}<br>}}<!--
-->{{#if:{{{fr_fr|}}}|   French (France){{{fr_fr_note|}}}<br>}}<!--
-->{{#if:{{{fr_ca|}}}|   French (Canada){{{fr_ca_note|}}}<br>}}<!--
-->{{#if:{{{de|}}}|       German{{{de_note|}}}<br>}}<!--
-->{{#if:{{{es|}}}|       Spanish{{{es_note|}}}<br>}}<!--
-->{{#if:{{{es_es|}}}|   Spanish (Spain){{{es_es_note|}}}<br>}}<!--
-->{{#if:{{{es_latam|}}}| Spanish (Latin America){{{es_latam_note|}}}<br>}}<!--
-->{{#if:{{{it|}}}|       Italian{{{it_note|}}}<br>}}<!--
-->{{#if:{{{nl|}}}|       Dutch{{{nl_note|}}}<br>}}<!--
-->{{#if:{{{pt|}}}|       Portuguese{{{pt_note|}}}<br>}}<!--
-->{{#if:{{{pt_pt|}}}|   Portuguese (Portugal){{{pt_pt_note|}}}<br>}}<!--
-->{{#if:{{{pt_br|}}}|   Portuguese (Brazil){{{pt_br_note|}}}<br>}}<!--
-->{{#if:{{{ru|}}}|       Russian{{{ru_note|}}}<br>}}<!--
-->{{#if:{{{jp|}}}|       Japanese{{{jp_note|}}}<br>}}<!--
-->{{#if:{{{zh_simp|}}}| Simplified Chinese{{{zh_simp_note|}}}<br>}}<!--
-->{{#if:{{{zh_trad|}}}| Traditional Chinese{{{zh_trad_note|}}}<br>}}<!--
-->{{#if:{{{kr|}}}|      Korean{{{kr_note|}}}<br>}}<!--
--><noinclude>{{/doc}}</noinclude>

Latest revision as of 21:09, June 18, 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)
French
French (France)
French (Canada)
German
Spanish
Spanish (Spain)
Spanish (Latin America)
Italian
Dutch
Portuguese
Portuguese (Portugal)
Portuguese (Brazil)
Russian
Japanese
Simplified Chinese
Traditional Chinese
Korean

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