Template:Other Languages/doc: Difference between revisions

Created page with "{{Documentation/Header}} {{Lua}} This template is used to display the name of the page in other languages along with any romanization. '''Note:''' This wiki does not do TLs (translations) for its Other Language tables. Usage of the template will automatically add categories in Category:Meta Other Languages. ==Parameters== * The languages that are supported are ** English ({{F|en}}); optional parameter, defaults to the page name. ** Simplified Chinese ({{F|zhs}})..."
 
No edit summary
 
Line 1: Line 1:
{{Documentation/Header}}
{{Documentation/Header}}
{{High Risk|pagetype=Main}}
{{Lua}}
{{Lua}}
This template is used to display the name of the page in other languages along with any romanization.
This template is used to display the '''official''' translations of a certain term for other languages.


'''Note:''' This wiki does not do TLs (translations) for its Other Language tables.
<big>Note: that this template does '''NOT''' support romanization or translation for languages.</big>


Usage of the template will automatically add categories in [[:Category:Meta Other Languages]].
==Syntax==
 
<pre>
==Parameters==
{{Other Languages
* The languages that are supported are
|en   = {{subst:#titleparts:{{subst:PAGENAME}}}}
** English ({{F|en}}); optional parameter, defaults to the page name.
|zhs =
** Simplified Chinese ({{F|zhs}})
|zht =
** Traditional Chinese ({{F|zht}})
|ja   =
** Japanese ({{F|ja}})
|ko   =
** Korean ({{F|ko}})
|es   =
** Spanish ({{F|es}})
|fr   =
** French ({{F|fr}})
|ru   =
** Russian ({{F|ru}})
|th   =
** Thai ({{F|th}})
|vi   =
** Vietnamese ({{F|vi}})
|de   =
** German ({{F|de}})
|id   =
** Indonesian ({{F|id}})
|pt   =
** and Portuguese ({{F|pt}}).
}}
* The parameters {{F|''[lang]''_rm}} are used for romanization.
</pre>
** The romanization parameter is only available for languages which do not use the {{W|Latin script}}, i.e. Simplified Chinese ({{F|zhs}}), Traditional Chinese ({{F|zht}}), Japanese ({{F|ja}}), Korean ({{F|ko}}), and Thai ({{F|th}}). (Russian and Korean romanizations are automated.)


<pre>==Other Languages==
===Supported Languages===
{{Other Languages
* English ({{F|en}})
|en     =
** The parameter {{F|en}} is optional and defaults to the page name.
|zhs     =
* Simplified Chinese ({{F|zhs}})
|zhs_rm  =
* Traditional Chinese ({{F|zht}})
|zht     =
* Japanese ({{F|ja}})
|zht_rm  =
* Korean ({{F|ko}})
|ja     =
* Spanish ({{F|es}})
|ja_rm  =
* French ({{F|fr}})
|ko     =
* Russian ({{F|ru}})
|es     =
* Thai ({{F|th}})
|fr     =
* Vietnamese ({{F|vi}})
|ru     =
* German ({{F|de}})
|th     =
* Indonesian ({{F|id}})
|th_rm  =
* Portuguese ({{F|pt}})
|vi     =
|de     =
|id     =
|pt     =
}}</pre>


==Romanization==
===Multiple Tables===
The romanization systems to be used are based on:
To render multiple tables the different tables' language parameters must be prefixed with the table's index plus an underscore ({{F|((index))_}}).
{| class="article-table
* E.g., {{F|ja}} becomes {{F|1_ja}} if it is the first table's Japanese name, {{F|2_ja}} if it is the second table's, and so on.
! Language !! System
|-
| '''Chinese<br /><small>(Simplified and Traditional)</small>'''
| {{W|Pinyin|Hanyu Pinyin}}
|-
| '''Japanese'''
| {{W|Hepburn romanization|Hepburn}}
|-
| '''Korean'''
| {{W|Revised Romanization of Korean}}
<!--|-
| '''Russian'''
| {{W|Romanization of Russian#Street and road signs|GOST R 52290-2004 (Table Г.5)}} with the following modifications from GOST 7.79-2000(B):
* {{Lang|mini=1|ru=Ёё}} is romanized as ''yo''
* {{Lang|mini=1|ru=Ъъ}} is romanized as ''"''
* {{Lang|mini=1|ru=Ьь}} is romanized as ''<nowiki>'</nowiki>''-->
|-
| '''Thai'''
| {{W|Royal Thai General System of Transcription}}
|}
For Chinese, Japanese, Korean, and Russian please see these guides for more details:
* [[Honkai Nexus Anima Wiki:Chinese]]
* [[Honkai Nexus Anima Wiki:Japanese]]
* [[Honkai Nexus Anima Wiki:Korean]],
<!--* [[Honkai Nexus Anima Wiki:Russian]].-->
<!--
==Full Example==
None yet, to be added.
<pre></pre>
-->
==Partial Example==
{{Other Languages
|en  = Kiana
|zhs = 琪亚娜
|zht = 琪亞娜
|ja  = キアナ
|ko  = 키아나
}}
<pre>{{Other Languages
|en  = Kiana
|zhs = 琪亚娜
|zht = 琪亞娜
|ja  = キアナ
|ko  = 키아나
}}</pre>


==Template Data==
==Template Data==
<templatedata>
<templatedata>
{
{
"description": "Displays official translations of the given term as seen in-game.",
"format": "{{_\n|____ = _\n}}\n",
"params": {
"params": {
"en": {},
"en": {
"en_lang": {},
"label": "English Name",
"zhs": {},
"type": "string",
"zhs_rm": {},
"suggested": true,
"zht": {},
"description": "Official English translation, as seen in-game – Official Only",
"zht_rm": {},
"aliases": [
"ja": {},
"1_en"
"ja_rm": {},
]
"ko": {},
},
"ko_rm": {},
"zhs": {
"es": {},
"label": "Simplified Chinese Name",
"fr": {},
"type": "string",
"ru": {},
"suggested": true,
"th": {},
"description": "Official Simplified Chinese translation, as seen in-game – 仅限官方",
"th_rm": {},
"aliases": [
"vi": {},
"1_zhs"
"de": {},
]
"id": {},
},
"pt": {}
"zht": {
"label": "Traditional Chinese Name",
"type": "string",
"suggested": true,
"description": "Official Traditional Chinese translation, as seen in-game – 僅限官方",
"aliases": [
"1_zht"
]
},
"ja": {
"label": "Japanese Name",
"type": "string",
"suggested": true,
"description": "Official Japanese translation, as seen in-game – 公式のみ",
"aliases": [
"1_ja"
]
},
"ko": {
"label": "Korean Name",
"type": "string",
"suggested": true,
"description": "Official Korean translation, as seen in-game – 공식 전용",
"aliases": [
"1_ko"
]
},
"es": {
"label": "Spanish Name",
"type": "string",
"suggested": true,
"description": "Official Spanish translation, as seen in-game – Oficial solamente",
"aliases": [
"1_es"
]
},
"fr": {
"label": "French Name",
"type": "string",
"suggested": true,
"description": "Official French translation, as seen in-game – Uniquement officiel",
"aliases": [
"1_fr"
]
},
"ru": {
"label": "Russian Name",
"type": "string",
"suggested": true,
"description": "Official Russian translation, as seen in-game – Только официальный перевод.",
"aliases": [
"1_ru"
]
},
"th": {
"label": "Thai Name",
"type": "string",
"suggested": true,
"description": "Official Thai translation, as seen in-game – แปลเป็นทางการเท่านั้น",
"aliases": [
"1_th"
]
},
"vi": {
"label": "Vietnamese Name",
"type": "string",
"suggested": true,
"description": "Official Vietnamese translation, as seen in-game – Chỉ chính thức",
"aliases": [
"1_vi"
]
},
"de": {
"label": "German Name",
"type": "string",
"suggested": true,
"description": "Official German translation, as seen in-game – Nur offiziell",
"aliases": [
"1_de"
]
},
"id": {
"label": "Indonesian Name",
"type": "string",
"suggested": true,
"description": "Official Indonesian translation, as seen in-game – Hanya resmi",
"aliases": [
"1_id"
]
},
"pt": {
"label": "Portugese Name",
"type": "string",
"suggested": true,
"description": "Official Portuguese translation, as seen in-game – Apenas oficial",
"aliases": [
"1_pt"
]
}
},
},
"format": "{{_\n|_______ = _\n}}\n"
"paramOrder": [
"en",
"zhs",
"zht",
"ja",
"ko",
"es",
"fr",
"ru",
"th",
"vi",
"de",
"id",
"pt"
]
}
}
</templatedata>
</templatedata>