Template:Multilang profile: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 2: | Line 2: | ||
|{{#if:{{{website|}}}|'''Website bio:'''}}{{#if:{{{spotlight|}}}|'''Spotlight Shop description:'''}}{{#if:{{{mii|}}}|'''Mii Racing Suit Shop description:'''}}{{#if:{{{offer|}}}|'''Special offer description:'''}} | |{{#if:{{{website|}}}|'''Website bio:'''}}{{#if:{{{spotlight|}}}|'''Spotlight Shop description:'''}}{{#if:{{{mii|}}}|'''Mii Racing Suit Shop description:'''}}{{#if:{{{offer|}}}|'''Special offer description:'''}} | ||
|- | |- | ||
|valign=top|<div style="column-count:2"><!-- | |valign=top|<div class="columns" style="column-count:2"><!-- | ||
-->{{#if:{{{Eng|}}}|* | -->{{#if:{{{Eng|}}}|*'''English:'''<br>''{{{Eng}}}''}}<!-- | ||
-->{{#if:{{{Jap|}}}|* | -->{{#if:{{{Jap|}}}|*'''Japanese:'''<br>{{{Jap}}}}}<!-- | ||
-->{{#if:{{{ChiS|}}}|* | -->{{#if:{{{ChiS|}}}|*'''Simplified Chinese:'''<br>{{{ChiS}}}}}<!-- | ||
-->{{#if:{{{ChiT|}}}|* | -->{{#if:{{{ChiT|}}}|*'''Traditional Chinese:'''<br>{{{ChiT}}}}}<!-- | ||
-->{{#if:{{{Dut|}}}|* | -->{{#if:{{{Dut|}}}|*'''Dutch:'''<br>''{{{Dut}}}''}}<!-- | ||
-->{{#if:{{{Fre|}}}|* | -->{{#if:{{{Fre|}}}|*'''French:'''<br>''{{{Fre}}}''}}<!-- | ||
-->{{#if:{{{FreA|}}}|* | -->{{#if:{{{FreA|}}}|*'''French (Canada):'''<br>''{{{FreA}}}''}}<!-- | ||
-->{{#if:{{{FreE|}}}|* | -->{{#if:{{{FreE|}}}|*'''French (Europe):'''<br>''{{{FreE}}}''}}<!-- | ||
-->{{#if:{{{Ger|}}}|* | -->{{#if:{{{Ger|}}}|*'''German:'''<br>''{{{Ger}}}''}}<!-- | ||
-->{{#if:{{{Ita|}}}|* | -->{{#if:{{{Ita|}}}|*'''Italian:'''<br>''{{{Ita}}}''}}<!-- | ||
-->{{#if:{{{Kor|}}}|* | -->{{#if:{{{Kor|}}}|*'''Korean:'''<br>{{{Kor}}}}}<!-- | ||
-->{{#if:{{{Por|}}}|* | -->{{#if:{{{Por|}}}|*'''Portuguese:'''<br>''{{{Por}}}''}}<!-- | ||
-->{{#if:{{{PorA|}}}|* | -->{{#if:{{{PorA|}}}|*'''Portuguese (Brazil):'''<br>''{{{PorA}}}''}}<!-- | ||
-->{{#if:{{{PorE|}}}|* | -->{{#if:{{{PorE|}}}|*'''Portuguese (Portugal):'''<br>''{{{PorE}}}''}}<!-- | ||
-->{{#if:{{{Spa|}}}|* | -->{{#if:{{{Spa|}}}|*'''Spanish:'''<br>''{{{Spa}}}''}}<!-- | ||
-->{{#if:{{{SpaA|}}}|* | -->{{#if:{{{SpaA|}}}|*'''Spanish (Latin America):'''<br>''{{{SpaA}}}''}}<!-- | ||
-->{{#if:{{{SpaE|}}}|* | -->{{#if:{{{SpaE|}}}|*'''Spanish (Europe):'''<br>''{{{SpaE}}}''}}<!-- | ||
--></div> | --></div> | ||
|}</includeonly><noinclude>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'''. | |}</includeonly><noinclude>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'''. |
Revision as of 13:32, September 13, 2023
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.
Code:
{{Multilang profile |Eng= |Jap= |ChiS= |ChiT= |Dut= |Fre= |FreA= |FreE= |Ger= |Ita= |Kor= |Por= |PorA= |PorE= |Spa= |SpaA= |SpaE= }}
Note: 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) and SpaE (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.
There are several additional parameters that, when defined, specify the origin of these descriptions at the top of the list:
Parameter | Definition |
---|---|
website= |
The official website of a game or some other work |
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 |