Editing Template:Other Languages/doc

Warning: You are not logged in. Once you make an edit, a temporary account will be created for you. Learn more. Log in or create an account to continue receiving notifications after this account expires, and to access other features.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
{{Documentation/Header}}
{{Documentation/Header}}
{{High Risk|pagetype=Main}}
{{Lua}}
{{Lua}}
This template is used to display the '''official''' translations of a certain term for other languages.
This template is used to display the name of the page in other languages along with any romanization.


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


==Syntax==
Usage of the template will automatically add categories in [[:Category:Meta Other Languages]].
<pre>
 
==Parameters==
* The languages that are supported are
** English ({{F|en}}); optional parameter, defaults to the page name.
** Simplified Chinese ({{F|zhs}})
** Traditional Chinese ({{F|zht}})
** Japanese ({{F|ja}})
** Korean ({{F|ko}})
** Spanish ({{F|es}})
** French ({{F|fr}})
** Russian ({{F|ru}})
** Thai ({{F|th}})
** Vietnamese ({{F|vi}})
** German ({{F|de}})
** Indonesian ({{F|id}})
** and Portuguese ({{F|pt}}).
* The parameters {{F|''[lang]''_rm}} are used for romanization.
** 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==
{{Other Languages
|en      =
|zhs    =
|zhs_rm  =
|zht    =
|zht_rm  =
|ja      =
|ja_rm  =
|ko      =
|es      =
|fr      =
|ru      =
|th      =
|th_rm  =
|vi      =
|de      =
|id      =
|pt      =
}}</pre>
 
==Romanization==
The romanization systems to be used are based on:
{| class="article-table
! 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
{{Other Languages
|en   = {{subst:#titleparts:{{subst:PAGENAME}}}}
|en = Kiana
|zhs =  
|zhs = 琪亚娜
|zht =  
|zht = 琪亞娜
|ja   =  
|ja = キアナ
|ko   =
|ko = 키아나
|es  =
|fr  =
|ru  =
|th  =
|vi  =
|de  =
|id  =
|pt  =  
}}
}}
</pre>
<pre>{{Other Languages
 
|en = Kiana
===Supported Languages===
|zhs = 琪亚娜
* English ({{F|en}})
|zht = 琪亞娜
** The parameter {{F|en}} is optional and defaults to the page name.
|ja = キアナ
* Simplified Chinese ({{F|zhs}})
|ko = 키아나
* Traditional Chinese ({{F|zht}})
}}</pre>
* Japanese ({{F|ja}})
* Korean ({{F|ko}})
* Spanish ({{F|es}})
* French ({{F|fr}})
* Russian ({{F|ru}})
* Thai ({{F|th}})
* Vietnamese ({{F|vi}})
* German ({{F|de}})
* Indonesian ({{F|id}})
* Portuguese ({{F|pt}})
 
===Multiple Tables===
To render multiple tables the different tables' language parameters must be prefixed with the table's index plus an underscore ({{F|((index))_}}).
* 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.


==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": {},
"label": "English Name",
"en_lang": {},
"type": "string",
"zhs": {},
"suggested": true,
"zhs_rm": {},
"description": "Official English translation, as seen in-game – Official Only",
"zht": {},
"aliases": [
"zht_rm": {},
"1_en"
"ja": {},
]
"ja_rm": {},
},
"ko": {},
"zhs": {
"ko_rm": {},
"label": "Simplified Chinese Name",
"es": {},
"type": "string",
"fr": {},
"suggested": true,
"ru": {},
"description": "Official Simplified Chinese translation, as seen in-game – 仅限官方",
"th": {},
"aliases": [
"th_rm": {},
"1_zhs"
"vi": {},
]
"de": {},
},
"id": {},
"zht": {
"pt": {}
"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"
]
}
},
},
"paramOrder": [
"format": "{{_\n|_______ = _\n}}\n"
"en",
"zhs",
"zht",
"ja",
"ko",
"es",
"fr",
"ru",
"th",
"vi",
"de",
"id",
"pt"
]
}
}
</templatedata>
</templatedata>
Please note that all contributions to Honkai: Nexus Anima Wiki are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see Honkai Nexus Anima Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)
Preview page with this template
Below are commonly used wikitext from MediaWiki:Edittools. Click on any to insert them in the edit box.

Parser Functions:{{#if:||}}
{{#ifeq:|||}}
{{#expr:}}
{{#switch:||#default=}}
{{#replace:||}}
{{#titleparts:}}
{{#tag:|}}