Template:Localized name: Difference between revisions

From Inkipedia, the Splatoon wiki
m (Added color parameter with SiteColor)
(added Czech, Hungarian, and Polish)
Line 37: Line 37:
|-
|-
{{#if:{{{Chi|}}}|{{!}}{{flag|cn}}&nbsp;Chinese{{!}}{{!}}{{{Chi|}}}{{#if:{{{ChiR|}}}|<br/>''{{{ChiR}}}''}}{{!}}{{!}}{{{ChiM|}}}}}
{{#if:{{{Chi|}}}|{{!}}{{flag|cn}}&nbsp;Chinese{{!}}{{!}}{{{Chi|}}}{{#if:{{{ChiR|}}}|<br/>''{{{ChiR}}}''}}{{!}}{{!}}{{{ChiM|}}}}}
|-
{{#if:{{{Cze|}}}|{{!}}{{flag|cz}}&nbsp;Czech{{!}}{{!}}{{{Cze|}}}{{!}}{{!}}{{{CzeM|}}}}}
|-
{{#if:{{{Hun|}}}|{{!}}{{flag|hu}}&nbsp;Hungarian{{!}}{{!}}{{{Hun|}}}{{!}}{{!}}{{{HunM|}}}}}
|-
{{#if:{{{Pol|}}}|{{!}}{{flag|pl}}&nbsp;Polish{{!}}{{!}}{{{Pol|}}}{{!}}{{!}}{{{PolM|}}}}}
|-
|-
{{#if:{{{Rom|}}}|{{!}}{{flag|ro}}&nbsp;Romanian{{!}}{{!}}{{{Rom|}}}{{!}}{{!}}{{{RomM|}}}}}
{{#if:{{{Rom|}}}|{{!}}{{flag|ro}}&nbsp;Romanian{{!}}{{!}}{{{Rom|}}}{{!}}{{!}}{{{RomM|}}}}}
Line 68: Line 74:
**'''KorS''' (KorSR / KorSM) - South Korean
**'''KorS''' (KorSR / KorSM) - South Korean
*'''Chi''' (ChiM / ChiR) - Chinese
*'''Chi''' (ChiM / ChiR) - Chinese
*'''Cze''' (CzeM) - Czech
*'''Hun''' (HunM) - Hungarian
*'''Pol''' (PolM) - Polish
*'''Rom''' (RomM) - Romanian
*'''Rom''' (RomM) - Romanian



Revision as of 20:34, 8 June 2017

This template allows putting information about the foreign names of article subjects and their respective meanings in that languages into an article. This template should precede the Trivia section of a page. The coding is as follows:

{{Foreignname
|color={{SiteColor|Splatoon}}
|Jap=クリボー
|JapR=kuribō
|JapM=chestnut people
}}

The color of the template can be specified using

  • color={{SiteColor|<X>}}, where X is Splatoon for a Splatoon article, Splatoon 2 for a Splatoon 2 article, or Generic for an article that is not specifically attributed to either.

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. The following languages are currently supported:

  • Jap (JapM / JapR) - Japanese
  • Spa (SpaM) - Spanish
    • SpaA (SpaAM) - NOA Spanish
    • SpaE (SpaEM) - NOE Spanish
  • Fra or Fre (FraM) - French
    • FraA or FreA (FraAM) - NOA French
    • FraE or FreE (FraEM) - NOE French
  • Dut (DutM) - Dutch
  • Ger (GerM) - German
  • Ita (ItaM) - Italian
  • Por (PorM) - Portuguese
    • PorA (PorAM) - NOA Portuguese
    • PorE (PorEM) - NOE Portuguese
  • Rus (RusR / RusM) - Russian
  • Kor (KorM / KorR) - Korean
    • KorS (KorSR / KorSM) - South Korean
  • Chi (ChiM / ChiR) - Chinese
  • Cze (CzeM) - Czech
  • Hun (HunM) - Hungarian
  • Pol (PolM) - Polish
  • Rom (RomM) - Romanian