Template:Localized name: Difference between revisions
(Added Unlocalized parameter and added documentation titles) |
m (unlocalized -> internal after a small discussion on discord) |
||
Line 55: | Line 55: | ||
{{#if:{{{Swe|}}}|{{!}}{{flag|se}} Swedish{{!}}{{!}}lang="sv"{{!}}{{{Swe|}}}{{!}}{{!}}{{{SweM|}}}}} | {{#if:{{{Swe|}}}|{{!}}{{flag|se}} Swedish{{!}}{{!}}lang="sv"{{!}}{{{Swe|}}}{{!}}{{!}}{{{SweM|}}}}} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{Internal|}}}|{{!}}[[File:Translate logo.svg|border|20px|link=]] Internal{{!}}{{!}}lang=""{{!}}{{{Internal|}}}{{!}}{{!}}{{{InternalM|}}}}} | ||
|}</includeonly><noinclude> | |}</includeonly><noinclude> | ||
Line 129: | Line 129: | ||
|'''Swe''' || SweM || Swedish || ? | |'''Swe''' || SweM || Swedish || ? | ||
|- | |- | ||
|''' | |'''Internal''' || InternalM|| Game IDs and supporting notes.<br />This must be sourced per [[Inkipedia:Policy/Rumors and leaks|our leaks policy]]. || -- | ||
|- | |- | ||
|} | |} | ||
Line 176: | Line 176: | ||
|Swe=svenska | |Swe=svenska | ||
|SweM=Swedish | |SweM=Swedish | ||
| | |Internal=Vss_Object_Language | ||
| | |InternalM=Additional notes for the game IDs | ||
}}</pre> | }}</pre> | ||
Line 222: | Line 222: | ||
|Swe=svenska | |Swe=svenska | ||
|SweM=Swedish | |SweM=Swedish | ||
| | |Internal=Vss_Object_Language | ||
| | |InternalM=Additional notes for the game IDs | ||
}} | }} | ||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
[[Category:Language templates]] | [[Category:Language templates]] | ||
</noinclude> | </noinclude> |
Revision as of 03:09, 2 January 2023
Summary
This template is a standardized table for the languages that the Splatoon series supports, to translate article subjects and provide their respective meanings.
Usage
This template should precede the Trivia section of a page and be a subsection to Etymology when applicable.
The color of the template can be specified using
- color= X, where X is Splatoon for a Splatoon article, Splatoon 2 for a Splatoon 2 article, and Splatoon 3 for a Splatoon 3 article. Do not use this parameter for a table that is not specifically attributed to any game.
If needed, a title can be specified for the table using
- title= X, where X is any title you want to add. This parameter is meant for pages with multiple uses of the template to be able to have more precise titles.
The language's abbreviation and M (for Meaning) are parameters for this template. For Japanese, Korean, Chinese and Russian, an additional abbreviation + R (Romanized) can be used.
Chinese, French, Spanish, and Portuguese have additional localizations depending on the region. If the localization is the same, please use the parent group. Otherwise, the more specific parameters should be used.
Parameter | Additional options | Language | Culture code |
---|---|---|---|
Jap | JapM, JapR | Japanese | JPja |
Dut | DutM | Dutch | EUnl |
Fra or Fre | FraM | French | EUfr and USfr |
FraA or FreA | FraAM | NOA French | USfr |
FraE or FreE | FraEM | NOE French | EUfr |
Ger | GerM | German | EUde |
Ita | ItaM | Italian | EUit |
Por | PorM | Portuguese | EUpt(?) and USpt(?) |
PorA | PorAM | NOA Portuguese | USpt(?) |
PorE | PorEM | NOE Portuguese | EUpt(?) |
Rus | RusM, RusR | Russian | EUru |
Spa | SpaM | Spanish | EUes and USes |
SpaA | SpaAM | NOA Spanish | USes |
SpaE | SpaEM | NOE Spanish | EUes |
Chi | ChiM, ChiR | Chinese | CNzh and TWzh |
ChiS | ChiSM, ChiSR | Simplified Chinese | CNzh |
ChiT | ChiTM, ChiTR | Traditional Chinese | TWzh |
Kor | KorM, KorR | Korean | KRko |
Cze | CzeM | Czech | ? |
Dan | DanM | Danish | ? |
Fin | FinM | Finnish | ? |
Hun | HunM | Hungarian | ? |
Nor | NorM | Norwegian | ? |
Pol | PolM | Polish | ? |
Swe | SweM | Swedish | ? |
Internal | InternalM | Game IDs and supporting notes. This must be sourced per our leaks policy. |
-- |
Example
A full template:
{{Foreignname |title=Optional table title |color=Splatoon |Jap=日本 |JapR=Nihon |JapM=Japan |Dut=nederlands |DutM=Dutch |Fre=français |FreM=French |Ger=Deutsch |GerM=German |Ita=italiano |ItaM=Italian |Por=portugues |PorM=Portuguese |Rus=русский |RusR=russkiy |RusM=Russian |Spa=español |SpaM=Spanish |Chi=中文 |ChiR=zhōngwén |ChiM=Chinese |Kor=한국어 |KorR=han gook uh |KorM=Korean language |Cze=český jazyk |CzeM=Czech language |Dan=dansk |DanM=Danish |Fin=Suomen kieli |FinM=Finnish language |Hun=magyar nyelv |HunM=Hungarian language |Nor=norsk |NorM=Norweigian |Pol=Język polski |PolM=Polish language |Swe=svenska |SweM=Swedish |Internal=Vss_Object_Language |InternalM=Additional notes for the game IDs }}
Which looks like: Template:Foreignname