Template:Multilang profile: Difference between revisions
No edit summary |
(found a rare case where this is useful) |
||
Line 15: | Line 15: | ||
-->{{#if:{{{EngE|}}}|{{#if:{{{type|}}}|*}}*'''British English:'''<br>''{{{EngE}}}''}}<!-- | -->{{#if:{{{EngE|}}}|{{#if:{{{type|}}}|*}}*'''British English:'''<br>''{{{EngE}}}''}}<!-- | ||
-->{{#if:{{{Jap|}}}|{{#if:{{{type|}}}|*}}*'''Japanese:'''<br>{{{Jap}}}}}{{#if:{{{JapR|}}}|<br>(Romanization: ''{{{JapR}}}'')}}{{#if:{{{JapM|}}}|<br>(Translation: ''{{{JapM}}}'')}}<!-- | -->{{#if:{{{Jap|}}}|{{#if:{{{type|}}}|*}}*'''Japanese:'''<br>{{{Jap}}}}}{{#if:{{{JapR|}}}|<br>(Romanization: ''{{{JapR}}}'')}}{{#if:{{{JapM|}}}|<br>(Translation: ''{{{JapM}}}'')}}<!-- | ||
-->{{#if:{{{Chi|}}}|{{#if:{{{type|}}}|*}}*'''Chinese:'''<br>{{{Chi}}}}}{{#if:{{{ChiR|}}}|<br>(Romanization: ''{{{ChiR}}}'')}}{{#if:{{{ChiM|}}}|<br>(Translation: ''{{{ChiM}}}'')}}<!-- | |||
-->{{#if:{{{ChiS|}}}|{{#if:{{{type|}}}|*}}*'''Simplified Chinese:'''<br>{{{ChiS}}}}}{{#if:{{{ChiSR|}}}|<br>(Romanization: ''{{{ChiSR}}}'')}}{{#if:{{{ChiSM|}}}|<br>(Translation: ''{{{ChiSM}}}'')}}<!-- | -->{{#if:{{{ChiS|}}}|{{#if:{{{type|}}}|*}}*'''Simplified Chinese:'''<br>{{{ChiS}}}}}{{#if:{{{ChiSR|}}}|<br>(Romanization: ''{{{ChiSR}}}'')}}{{#if:{{{ChiSM|}}}|<br>(Translation: ''{{{ChiSM}}}'')}}<!-- | ||
-->{{#if:{{{ChiT|}}}|{{#if:{{{type|}}}|*}}*'''Traditional Chinese:'''<br>{{{ChiT}}}}}{{#if:{{{ChiTR|}}}|<br>(Romanization: ''{{{ChiTR}}}'')}}{{#if:{{{ChiTM|}}}|<br>(Translation: ''{{{ChiTM}}}'')}}<!-- | -->{{#if:{{{ChiT|}}}|{{#if:{{{type|}}}|*}}*'''Traditional Chinese:'''<br>{{{ChiT}}}}}{{#if:{{{ChiTR|}}}|<br>(Romanization: ''{{{ChiTR}}}'')}}{{#if:{{{ChiTM|}}}|<br>(Translation: ''{{{ChiTM}}}'')}}<!-- | ||
Line 75: | Line 76: | ||
*<code>EngE</code> British English | *<code>EngE</code> British English | ||
*<code>Jap</code> Japanese | *<code>Jap</code> Japanese | ||
*<code>Chi</code> Chinese | |||
*<code>ChiS</code> Simplified Chinese | *<code>ChiS</code> Simplified Chinese | ||
*<code>ChiT</code> Traditional Chinese | *<code>ChiT</code> Traditional Chinese |
Revision as of 09:46, May 4, 2024
General usage
This template is used to display multiple official descriptions for a subject in various languages. The descriptions added to the template should originate from different localizations of the same source.
Here is an example of how this template should be used. This code:
{{Multilang profile |type=website |Eng=Mario is always ready to help a friend, take on a new challenge, or jump on a Koopa's head! |FreA=Mario est toujours prêt à aider un ami, relever un nouveau défi, ou sauter sur la tête d'un Koopa! |PorA=Mario está sempre pronto para ajudar alguém, enfrentar novos desafios e dar uma pisada em um Koopa! |SpaA=Mario siempre está listo para ayudar a un amigo, enfrentar un nuevo reto o ¡incluso saltar sobre la cabeza de un Koopa! }}
produces the following content (without the separation lines):
- Website description:
- English:
Mario is always ready to help a friend, take on a new challenge, or jump on a Koopa's head! - French (Canada):
Mario est toujours prêt à aider un ami, relever un nouveau défi, ou sauter sur la tête d'un Koopa! - Portuguese (Brazil):
Mario está sempre pronto para ajudar alguém, enfrentar novos desafios e dar uma pisada em um Koopa! - Spanish (Latin America):
Mario siempre está listo para ayudar a un amigo, enfrentar un nuevo reto o ¡incluso saltar sobre la cabeza de un Koopa!
- English:
- Notes
- By default, the list of descriptions is split into two columns. To arrange the descriptions on a single column, add a
columns
parameter and set its value to "1". - If the list of descriptions gets huge (even if it's split across columns), you can make it collapsible. Just add a
collapse
parameter and set its value to "1".
Supported languages
The following languages are accompanied by their respective parameters for this template.
Eng
EnglishEngA
American EnglishEngE
British EnglishJap
JapaneseChi
ChineseChiS
Simplified ChineseChiT
Traditional ChineseCze
CzechDut
DutchFre
FrenchFreA
French (Canada)FreE
French (Europe)Ger
GermanHun
HungarianIta
ItalianKor
KoreanPol
PolishPor
PortuguesePorA
Portuguese (Brazil)PorE
Portuguese (Portugal)Rus
RussianSvk
SlovakSpa
SpanishSpaA
Spanish (Latin America)SpaE
Spanish (Europe)
- Notes
- You can add a translation for a particular non-English description using a translation parameter. This parameter is written the same as your chosen language parameter plus the letter "M" (for "meaning"). For instance, the translation parameter for
Jap
(Japanese) isJapM
. - Similarly, the template provides a parameter that allows you to add romanizations of descriptions that are not originally written with Latin script. The parameter is written the same as your chosen language parameter plus the letter "R" (for "romanization"). For instance, the romanization parameter for
Jap
isJapR
. - To account for different localizations across regions with the same majority language, the template has parameters for language varieties, such as
SpaA
(Latin American Spanish) andSpaE
(European Spanish). If a description is the exact same in all varieties of a language, simply use the parameter that doesn't differentiate between regions, e.g.Spa
(Spanish). The same should be done if a description is localized in only one apparent language variety but the source doesn't specify the region of the variety, as is the case with Mario Kart Tour, whose Brazilian Portuguese localization is simply designated "Portuguese" in-game.
Type parameter
The type
parameter can be set to one of several values to specify the origin of these descriptions at the top of the list:
General | |
---|---|
Type | Definition |
game |
The game itself |
website |
The official website of a game or some other work |
manual |
The physical instruction booklet of a game |
e-manual |
The electronic manual of a game |
vc_3ds |
The electronic manual of a game released as part of the Virtual Console service on Nintendo 3DS |
vc_wiiu |
The electronic manual of a game released as part of the Virtual Console service on Wii U |
Mario Kart Tour | |
Type | Definition |
spotlight |
The Spotlight Shop section of the Shop in Mario Kart Tour |
mii |
The Mii Racing Suit Shop section of the Shop in Mario Kart Tour |
offer |
An in-game special offer from Mario Kart Tour |
If you fill the type
parameter with something other than the above values, the template will simply display whatever you typed in this parameter. If you don't fill the parameter with anything, nothing will be displayed above the descriptions.