Template:Lang: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
No edit summary
(Reworked the template to be more versatile. Also rearranged the languages a bit and included NL, PT and RU for the few names used in Super Smash Bros.. Also versatility (hiding blank languages))
Line 4: Line 4:
!Name
!Name
!Meaning
!Meaning
|- align="center"
|- align="left"
|{{JP}} Japanese
{{#if: |{{JP}} Japanese
|{{{jp|}}}
|{{{jp|}}}
|{{{mnjp|}}}
|{{{mnjp|}}}|}}
|- align="center"
|- align="left"
|{{US}} English (US)
{{#if: |{{US}} English
|{{{us|}}}
|{{{us|}}}
|{{{mnus|}}}
|{{{mnus|}}}|}}
|- align="center"
|- align="left"
|{{UK}} English (UK)
{{#if: |{{UK}} English (UK)
|{{{uk|}}}
|{{{uk|}}}
|{{{mnuk|}}}
|{{{mnuk|}}}|}}
|- align="center"
|- align="left"
|{{FR}} French
{{#if: |{{FR}} French
|{{{fr|}}}
|{{{fr|}}}
|{{{mnfr|}}}
|{{{mnfr|}}}|}}
|- align="center"
|- align="left"
|{{ES}} Spanish
{{#if: |{{DU}} German
|{{{du|}}}
|{{{mndu|}}}|}}
|- align="left"
{{#if: |{{ES}} Spanish
|{{{es|}}}
|{{{es|}}}
|{{{mnes|}}}
|{{{mnes|}}}|}}
|- align="center"
{{#if: |{{IT}} Italian
|{{DU}} German
|{{{du|}}}
|{{{mndu|}}}
|- align="center"
|{{IT}} Italian
|{{{it|}}}
|{{{it|}}}
|{{{mnit|}}}
|{{{mnit|}}}|}}
|- align="center"
|- align="left"
|{{KR}} Korean
|- align="left"
{{#if: |{{NL}} Dutch
|{{{nl|}}}
|{{{mnnl|}}}|}}
|- align="left"
{{#if: |{{PT}} Portuguese
|{{{pt|}}}
|{{{mnpt|}}}|}}
|- align="left"
{{#if: |{{RU}} Russian
|{{{ru|}}}
|{{{mnru|}}}|}}
|- align="left"
{{#if: |{{KR}} Korean
|{{{kr|}}}
|{{{kr|}}}
|{{{mnkr|}}}
|{{{mnkr|}}}|}}
|}</includeonly>
|}</includeonly>


Line 53: Line 65:
|fr=Name in French
|fr=Name in French
|mnfr=Meaning of the Frech name
|mnfr=Meaning of the Frech name
|du=Name in German
|mndu=Meaning of the German name


|es=Name in Spanish
|es=Name in Spanish
|mnes=Meaning of the Spanish name
|mnes=Meaning of the Spanish name
|du=Name in German
|mndu=Meaning of the German name


|it=Name in Italian
|it=Name in Italian
|mnit=Meaning of the Italian name
|mnit=Meaning of the Italian name
|nl=Name in Dutch
|mnnl=Meaning of the Dutch name
|pt=Name in Portuguese
|mnpt=Meaning of the Portuguese name
|ru=Name in Russian
|mnru=Meaning of the Russian name


|kr=Name in Korean
|kr=Name in Korean
Line 79: Line 100:
|fr=Name in French
|fr=Name in French
|mnfr=Meaning of the Frech name
|mnfr=Meaning of the Frech name
|du=Name in German
|mndu=Meaning of the German name


|es=Name in Spanish
|es=Name in Spanish
|mnes=Meaning of the Spanish name
|mnes=Meaning of the Spanish name
|du=Name in German
|mndu=Meaning  of the German name


|it=Name in Italian
|it=Name in Italian
|mnit=Meaning of the Italian name
|mnit=Meaning of the Italian name
|nl=Name in Dutch
|mnnl=Meaning of the Dutch name
|pt=Name in Portuguese
|mnpt=Meaning of the Portuguese name
|ru=Name in Russian
|mnru=Meaning of the Russian name


|kr=Name in Korean
|kr=Name in Korean
|mnkr=Meaning of the Korean name
|mnkr=Meaning of the Korean name
}}
Leaving a language blank will hide it from the list.
{{Lang
|jp=Only Japanese
|mnjp=
|us=And English
|mnus=Are visible
}}
}}


Line 106: Line 144:
|fr=
|fr=
|mnfr=
|mnfr=
|du=
|mndu=


|es=
|es=
|mnes=
|mnes=
|du=
|mndu=


|it=
|it=
|mnit=
|mnit=
|nl=
|mnnl=
|pt=
|mnpt=
|ru=
|mnru=


|kr=
|kr=

Revision as of 13:18, 30 July 2020


Usage

This input:

{{Lang
|jp=Name in Japanese
|mnjp=Meaning of the Japanese name

|us=Name in American English
|mnus=Meaning of the American name

|uk=Name in English
|mnuk=Meaning of the English name

|fr=Name in French
|mnfr=Meaning of the Frech name

|du=Name in German
|mndu=Meaning of the German name

|es=Name in Spanish
|mnes=Meaning of the Spanish name

|it=Name in Italian
|mnit=Meaning of the Italian name

|nl=Name in Dutch
|mnnl=Meaning of the Dutch name

|pt=Name in Portuguese
|mnpt=Meaning of the Portuguese name

|ru=Name in Russian
|mnru=Meaning of the Russian name

|kr=Name in Korean
|mnkr=Meaning of the Korean name
}}

Will produce the following output:

Name in Japanese Name in American English Name in English Name in French Name in German Name in Spanish Name in Italian Name in Dutch Name in Portuguese Name in Russian Name in Korean
Language Name Meaning


Leaving a language blank will hide it from the list.

Only Japanese And English
Language Name Meaning


Here is a blank template reference (for copying and pasting):

{{Lang
|jp=
|mnjp=

|us=
|mnus=

|uk=
|mnuk=

|fr=
|mnfr=

|du=
|mndu=

|es=
|mnes=

|it=
|mnit=

|nl=
|mnnl=

|pt=
|mnpt=

|ru=
|mnru=

|kr=
|mnkr=
}}