Template:Localized name: Difference between revisions

From Inkipedia, the Splatoon wiki
(title parameter)
(Thinking about it, since the game uses "Canada" and not "Quebec", we should probably go with that flag. Also changed flag for the default French setting.)
Line 9: Line 9:
{{#if:{{{Dut|}}}|{{!}}{{flag|nl}} Dutch{{!}}{{!}}lang="nl"{{!}}{{{Dut|}}}{{!}}{{!}}{{{DutM|}}}}}
{{#if:{{{Dut|}}}|{{!}}{{flag|nl}} Dutch{{!}}{{!}}lang="nl"{{!}}{{{Dut|}}}{{!}}{{!}}{{{DutM|}}}}}
|-
|-
{{#if:{{{Fra|{{{Fre|}}}}}}|{{!}}{{flag|fr}} French{{!}}{{!}}lang="fr"{{!}}{{{Fra|{{{Fre|}}}}}}{{!}}{{!}}{{{FraM|{{{FreM|}}}}}}}}
{{#if:{{{Fra|{{{Fre|}}}}}}|{{!}}{{flag|cafr}} 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 05:19, 2 November 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
|title=Table title
|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.

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. 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