Template:Multilang profile: Difference between revisions
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{| | <includeonly>{| | ||
|{{# | |{{#switch:{{{type}}} | ||
|website='''Website bio:''' | |||
|spotlight='''Spotlight Shop description:''' | |||
|mii='''Mii Racing Suit Shop description:''' | |||
|offer='''Special offer description:''' | |||
}} | |||
|- | |- | ||
|valign=top|<div class="columns" style="column-count:2"><!-- | |valign=top|<div class="columns" style="column-count:2"><!-- | ||
Line 23: | Line 28: | ||
|}</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'''. | ||
== Usage == | |||
<pre> | <pre> | ||
{{Multilang profile | {{Multilang profile | ||
Line 48: | Line 53: | ||
'''Note:''' To account for different localizations across regions with the same majority language, the template has parameters for language varieties, such as '''<tt>SpaA</tt>''' (Latin American Spanish) and '''<tt>SpaE</tt>''' (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. '''<tt>Spa</tt>''' (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. | '''Note:''' To account for different localizations across regions with the same majority language, the template has parameters for language varieties, such as '''<tt>SpaA</tt>''' (Latin American Spanish) and '''<tt>SpaE</tt>''' (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. '''<tt>Spa</tt>''' (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 <code>type</code> paramater can be set to one of several values to specify the origin of these descriptions at the top of the list: | |||
{|border=1 cellpadding=3 cellspacing=0 style="border-collapse:collapse; border-color:#f77; background:#fee; margin-top:10px" | {|border=1 cellpadding=3 cellspacing=0 style="border-collapse:collapse; border-color:#f77; background:#fee; margin-top:10px" | ||
! | !Type!!Definition | ||
|- | |- | ||
|<code>website | |<code>website</code>||The '''official website''' of a game or some other work | ||
|- | |- | ||
|<code>spotlight | |<code>spotlight</code>||The '''Spotlight Shop''' section of the Shop in ''Mario Kart Tour'' | ||
|- | |- | ||
|<code>mii | |<code>mii</code>||The '''Mii Racing Suit Shop''' section of the Shop in ''Mario Kart Tour'' | ||
|- | |- | ||
|<code>offer | |<code>offer</code>||An in-game '''special offer''' from ''Mario Kart Tour'' | ||
|} | |} | ||
[[Category:Content templates]]</noinclude> | [[Category:Content templates]]</noinclude> |
Revision as of 14:07, 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.
Usage
{{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.
Type parameter
The type
paramater can be set to one of several values to specify the origin of these descriptions at the top of the list:
Type | 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 |