Template:Languages: Difference between revisions

From Zelda Dungeon Wiki
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.
mNo edit summary
(Adding Dutch language)
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<onlyinclude>{{Footer|In Other Languages}}
<onlyinclude><div style="float:right">{{Box|right|title=In Other Languages|titlealign=left|style=clear: right; font-size: 80%; min-width: 258px; max-width: 50%;|hide=hide}}
{| width="100%" border="1" style="border-collapse: collapse"
{| width="100%" border="1" style="border-collapse: collapse"
|- style="background: #aaccff"
|- class="header"
! Version
! style="width: 10em;" | Language
! Name
! Name<!--
! Description<!--
-->{{#fornumargs: num | header | {{N}}
-->{{#if:{{{extra1|}}}|{{N}}
! {{#var:header}}
! {{{extra1|}}}}}<!--
}}{{#if:{{{jpn|}}}|{{N}}
-->{{#if:{{{extra2|}}}|{{N}}
{{!-}} style="color: red;"
! {{{extra2|}}}}}<!--
! class="zdw-label" {{!}} {{Region|jp|language}} {{Languages/Row|{{{jpn}}}}}
-->{{{jpn|}}}<!--
}}{{#if:{{{eng|}}}|{{N}}
-->{{{usa|}}}<!--
{{!-}}
-->{{{eng|}}}<!--
! class="zdw-label" {{!}} {{Region|us|language}} {{Languages/Row|{{{eng}}}}}
-->{{{fra|}}}<!--
|{{#if:{{{usa|}}}|{{N}}
-->{{{deu|}}}<!--
{{!-}} style="color: blue;"
-->{{{esp|}}}
! class="zdw-label" {{!}} {{Region|us|language}} {{Languages/Row|{{{usa}}}}}
}}{{#if:{{{pal|}}}|{{N}}
{{!-}} style="color: green;"
! class="zdw-label" {{!}} {{Region|uk|language}} {{Languages/Row|{{{pal}}}}}
}}}}{{#if:{{{fra|}}}|{{N}}
{{!-}}
! class="zdw-label" {{!}} {{Region|fr|language}} {{Languages/Row|{{{fra}}}}}
|{{#if:{{{frc|}}}|{{N}}
{{!-}} style="color: blue;"
! class="zdw-label" {{!}} {{Region|ca|language}} {{Languages/Row|{{{frc}}}}}
}}{{#if:{{{frf|}}}|{{N}}
{{!-}} style="color: green;"
! class="zdw-label" {{!}} {{Region|fr|language}} {{Languages/Row|{{{frf}}}}}
}}}}{{#if:{{{esp|}}}|{{N}}
{{!-}}
! class="zdw-label" {{!}} {{Region|sp|language}} {{Languages/Row|{{{esp}}}}}
|{{#if:{{{esl|}}}|{{N}}
{{!-}} style="color: blue;"
! class="zdw-label" {{!}} {{Region|la|language}} {{Languages/Row|{{{esl}}}}}
}}{{#if:{{{ess|}}}|{{N}}
{{!-}} style="color: green;"
! class="zdw-label" {{!}} {{Region|sp|language}} {{Languages/Row|{{{ess}}}}}
}}}}{{#if:{{{deu|}}}|{{N}}
{{!-}} style="color: green;"
! class="zdw-label" {{!}} {{Region|ge|language}} {{Languages/Row|{{{deu}}}}}
}}{{#if:{{{ita|}}}|{{N}}
{{!-}} style="color: green;"
! class="zdw-label" {{!}} {{Region|it|language}} {{Languages/Row|{{{ita}}}}}
}}{{#if:{{{dut|}}}|{{N}}
{{!-}} style="color: green;"
! class="zdw-label" {{!}} {{Region|nl|language}} {{Languages/Row|{{{dut}}}}}
}}{{#if:{{{rus|}}}|{{N}}
{{!-}} style="color: green;"
! class="zdw-label" {{!}} {{Region|ru|language}} {{Languages/Row|{{{rus}}}}}
}}{{#if:{{{zho|}}}|{{N}}
{{!-}} style="color: red;"
! class="zdw-label" {{!}} {{Region|gc|language}} {{Languages/Row|{{{zho}}}}}
|{{#if:{{{zht|}}}|{{N}}
{{!-}} style="color: red;"
! class="zdw-label" {{!}} {{Region|tw|language}} {{Languages/Row|{{{zht}}}}}
}}{{#if:{{{zhs|}}}|{{N}}
{{!-}} style="color: red;"
! class="zdw-label" {{!}} {{Region|cn|language}} {{Languages/Row|{{{zhs}}}}}
}}}}{{#if:{{{kor|}}}|{{N}}
{{!-}} style="color: red;"
! class="zdw-label" {{!}} {{Region|kr|language}} {{Languages/Row|{{{kor}}}}}
}}
|}
|}
{{Footer/Bottom}}</onlyinclude>
{{Box/Bottom}}</div></onlyinclude>


==Purpose==
==Purpose==
Line 22: Line 68:


==Usage==
==Usage==
<pre>
Each anonymous argument is an additional column. Each named argument is an entire row, starting with the name, each cell separated by a backslash ('\').
{{Languages|extra1=|extra2=
 
|jpn={{Languages/JPN|name|description|extra1|extra2}}
<pre>{{Languages|additional|columns
|usa={{Languages/USA|name|description|extra1|extra2}}
| jpn = Name\Additional\Fields
|eng={{Languages/ENG|name|description|extra1|extra2}}
| eng = Name\Additional\Fields
|fra={{Languages/FRA|name|description|extra1|extra2}}
| esp = Name\Additional\Fields
|deu={{Languages/DEU|name|description|extra1|extra2}}
...
|esp={{Languages/ESP|name|description|extra1|extra2}}
}}</pre>
}}
 
</pre>
{| class="wikitable"
|-
! No Regions
! With Regions
|-
| <pre>{{Languages
| jpn =
| eng =
| esp =
| fra =
| deu =
| ita =  
| dut =
| rus =
| zho =
| kor =
}}</pre>
| <pre>{{Languages
| jpn =
| usa =
| pal =
| ess =
| esl =  
| frf =
| frc =
| deu =
| ita =
| dut =  
| rus =
| zht =
| zhs =
| kor =
}}</pre>
|}
 
Each row is optional.
 
==Language Codes==
*'''jpn''' = Japanese
*'''jpn''' = Japanese
*'''usa''' = US English
*'''eng''' = English
*'''eng''' = PAL English
**'''usa''' = US English (if different from PAL)
**'''pal''' = PAL English (if different from US)
*'''esp''' = Spanish
**'''ess''' = European Spanish (Spain) (if different from Latin American)
**'''esl''' = Latin American Spanish (if different from European)
*'''fra''' = French
*'''fra''' = French
**'''frf''' = European French (France) (if different from Canadian)
**'''frc''' = Canadian French (if different from European)
*'''deu''' = German
*'''deu''' = German
*'''esp''' = Spanish
*'''ita''' = Italian
*'''dut''' = Dutch
*'''rus''' = Russian
*'''zho''' = Chinese
**'''zht''' = Traditional Chinese (if different from Simplified)
**'''zhs''' = Simplified Chinese (if different from Traditional)
*'''kor''' = Korean
 
==Foreign Alphabets and Translations==
*Romanizations of foreign words that use different ideograms are conveyed through {{Temlink|Tt|Tooltips}} on the foreign words.
*Translations of foreign words are displayed in parentheses after said word.
 
An example of both:


'''extra1''' and '''extra2''' are optional columns for additional information (i.e. something else about the subject that varies by region, like item price). Define the column names in the '''{{Lanugages|extra1=|extra2=''' line.  If the column is not used, leave it out. (i.e. '''{{Languages''')
<code><nowiki>{{Tt|Zeruda|ゼルダ}} (Zelda)</nowiki></code> → {{Tt|Zeruda|ゼルダ}} (Zelda)


Each row is also optional.




{{Cat|Footer Templates}}
{{Cat|Box Templates}}

Latest revision as of 07:24, June 17, 2023

In Other Languages[show]
Language Name

Purpose

This template can be placed at the bottom of item, character, enemy, etc. articles to display names and descriptions in other languages.

Usage

Each anonymous argument is an additional column. Each named argument is an entire row, starting with the name, each cell separated by a backslash ('\').

{{Languages|additional|columns
| jpn = Name\Additional\Fields
| eng = Name\Additional\Fields
| esp = Name\Additional\Fields
...
}}
No Regions With Regions
{{Languages
| jpn = 
| eng = 
| esp = 
| fra = 
| deu = 
| ita = 
| dut = 
| rus = 
| zho = 
| kor = 
}}
{{Languages
| jpn = 
| usa = 
| pal = 
| ess = 
| esl = 
| frf = 
| frc = 
| deu = 
| ita = 
| dut = 
| rus = 
| zht = 
| zhs = 
| kor = 
}}

Each row is optional.

Language Codes

  • jpn = Japanese
  • eng = English
    • usa = US English (if different from PAL)
    • pal = PAL English (if different from US)
  • esp = Spanish
    • ess = European Spanish (Spain) (if different from Latin American)
    • esl = Latin American Spanish (if different from European)
  • fra = French
    • frf = European French (France) (if different from Canadian)
    • frc = Canadian French (if different from European)
  • deu = German
  • ita = Italian
  • dut = Dutch
  • rus = Russian
  • zho = Chinese
    • zht = Traditional Chinese (if different from Simplified)
    • zhs = Simplified Chinese (if different from Traditional)
  • kor = Korean

Foreign Alphabets and Translations

  • Romanizations of foreign words that use different ideograms are conveyed through {{Tooltips}} on the foreign words.
  • Translations of foreign words are displayed in parentheses after said word.

An example of both:

{{Tt|Zeruda|ゼルダ}} (Zelda)ゼルダ (Zelda)