Template:Multilang profile: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(idk if the note is clear enough)
No edit summary
Line 8: Line 8:
-->{{#if:{{{ChiT|}}}|*<div style="break-inside:avoid">'''Traditional Chinese:'''<br>{{{ChiT}}}</div>}}<!--
-->{{#if:{{{ChiT|}}}|*<div style="break-inside:avoid">'''Traditional Chinese:'''<br>{{{ChiT}}}</div>}}<!--
-->{{#if:{{{Fre|}}}|*<div style="break-inside:avoid">'''French:'''<br>''{{{Fre}}}''</div>}}<!--
-->{{#if:{{{Fre|}}}|*<div style="break-inside:avoid">'''French:'''<br>''{{{Fre}}}''</div>}}<!--
-->{{#if:{{{FreA|}}}|*<div style="break-inside:avoid">'''French (Canada):'''<br>''{{{FreA}}}''</div>}}<!--
-->{{#if:{{{Ger|}}}|*<div style="break-inside:avoid">'''German:'''<br>''{{{Ger}}}''</div>}}<!--
-->{{#if:{{{Ger|}}}|*<div style="break-inside:avoid">'''German:'''<br>''{{{Ger}}}''</div>}}<!--
-->{{#if:{{{Ita|}}}|*<div style="break-inside:avoid">'''Italian:'''<br>''{{{Ita}}}''</div>}}<!--
-->{{#if:{{{Ita|}}}|*<div style="break-inside:avoid">'''Italian:'''<br>''{{{Ita}}}''</div>}}<!--
Line 27: Line 28:
|ChiT=
|ChiT=
|Fre=
|Fre=
|FreA=
|FreE=
|Ger=
|Ger=
|Ita=
|Ita=

Revision as of 12:22, 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=
|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