Template:Localized name: Difference between revisions

From Inkipedia, the Splatoon wiki
(changed color handling to GameShortened template)
(change to use canadian flag over québec flag, to align with the fact all other flags are for countries, not provinces/states/territories)
Tag: Reverted
Line 10: Line 10:
{{#if:{{{Fra|{{{Fre|}}}}}}|{{!}}{{flag|fr}} French{{!}}{{!}}lang="fr"{{!}}{{{Fra|{{{Fre|}}}}}}{{!}}{{!}}{{{FraM|{{{FreM|}}}}}}}}
{{#if:{{{Fra|{{{Fre|}}}}}}|{{!}}{{flag|fr}} French{{!}}{{!}}lang="fr"{{!}}{{{Fra|{{{Fre|}}}}}}{{!}}{{!}}{{{FraM|{{{FreM|}}}}}}}}
|-
|-
{{#if:{{{FraA|{{{FreA|}}}}}}|{{!}}{{flag|qc}} French (NOA){{!}}{{!}}lang="fr-ca"{{!}}{{{FraA|{{{FreA|}}}}}}{{!}}{{!}}{{{FraAM|{{{FreAM|}}}}}}}}
{{#if:{{{FraA|{{{FreA|}}}}}}|{{!}}{{flag|ca}} French (NOA){{!}}{{!}}lang="fr-ca"{{!}}{{{FraA|{{{FreA|}}}}}}{{!}}{{!}}{{{FraAM|{{{FreAM|}}}}}}}}
|-
|-
{{#if:{{{FraE|{{{FreE|}}}}}}|{{!}}{{flag|fr}} French (NOE){{!}}{{!}}lang="fr-fr"{{!}}{{{FraE|{{{FreE|}}}}}}{{!}}{{!}}{{{FraEM|{{{FreEM|}}}}}}}}
{{#if:{{{FraE|{{{FreE|}}}}}}|{{!}}{{flag|fr}} French (NOE){{!}}{{!}}lang="fr-fr"{{!}}{{{FraE|{{{FreE|}}}}}}{{!}}{{!}}{{{FraEM|{{{FreEM|}}}}}}}}

Revision as of 02:26, 26 September 2022

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 and be a subsection to Etymology when applicable. The coding is as follows:

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

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.

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
  • Dut (DutM) - Dutch
  • Fra or Fre (FraM) - French
    • FraA or FreA (FraAM) - NOA French
    • FraE or FreE (FraEM) - NOE French
  • Ger (GerM) - German
  • Ita (ItaM) - Italian
  • Rus (RusR / RusM) - Russian
  • Spa (SpaM) - Spanish
    • SpaA (SpaAM) - NOA Spanish
    • SpaE (SpaEM) - NOE Spanish
  • Chi (ChiM / ChiR) - Chinese
    • ChiS (ChiSM / ChiSR) - Simplified Chinese
    • ChiT (ChiTM / ChiTR) - Traditional Chinese
  • Cze (CzeM) - Czech
  • Dan (DanM) - Danish
  • Fin (FinM) - Finnish
  • Hun (HunM) - Hungarian
  • Kor (KorM / KorR) - Korean
  • Nor (NorM) - Norwegian
  • Pol (PolM) - Polish
  • Por (PorM) - Portuguese
    • PorA (PorAM) - NOA Portuguese
    • PorE (PorEM) - NOE Portuguese
  • Swe (SweM) - Swedish