Template:Lang: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
(Undo revision 49157 by MF5K (talk) Nevermind it isn't working as intended)
(Attempt 2 at improving the template)
Line 4: Line 4:
!Name
!Name
!Meaning
!Meaning
|- align="center"
|-
|{{JP}} Japanese
{{#if:{{{jp|}}}|{{!}}Japanese{{!}}{{!}}{{{jp|}}}{{#if:{{{jpr|}}}|<br/>''{{jpr}}}''}}{{!}}{{!}}{{{mnjp|}}}}}
|{{{jp|}}}
|-
|{{{mnjp|}}}
{{#if:{{{us|}}}|{{!}}English{{!}}{{!}}{{{us|}}}{{!}}{{!}}{{{mnus|}}}}}
|- align="center"
|-
|{{US}} English (US)
{{#if:{{{uk|}}}|{{!}}English (UK){{!}}{{!}}{{{uk|}}}{{!}}{{!}}{{{mnuk|}}}}}
|{{{us|}}}
|-
|{{{mnus|}}}
{{#if:{{{fr|}}}|{{!}}French{{!}}{{!}}{{{fr|}}}{{!}}{{!}}{{{mnfr|}}}}}
|- align="center"
|-
|{{UK}} English (UK)
{{#if:{{{du|}}}|{{!}}German{{!}}{{!}}{{{du|}}}{{!}}{{!}}{{{mndu|}}}}}
|{{{uk|}}}
|-
|{{{mnuk|}}}
{{#if:{{{es|}}}|{{!}}Spanish{{!}}{{!}}{{{es|}}}{{!}}{{!}}{{{mnes|}}}}}
|- align="center"
|-
|{{FR}} French
{{#if:{{{it|}}}|{{!}}Italian{{!}}{{!}}{{{it|}}}{{!}}{{!}}{{{mnit|}}}}}
|{{{fr|}}}
|-
|{{{mnfr|}}}
{{#if:{{{nl|}}}|{{!}}Dutch{{!}}{{!}}{{{nl|}}}{{!}}{{!}}{{{mnnl|}}}}}
|- align="center"
|-
|{{ES}} Spanish
{{#if:{{{pt|}}}|{{!}}Portuguese{{!}}{{!}}{{{pt|}}}{{!}}{{!}}{{{mnpt|}}}}}
|{{{es|}}}
|-
|{{{mnes|}}}
{{#if:{{{ru|}}}|{{!}}Russian{{!}}{{!}}{{{ru|}}}{{!}}{{!}}{{{mnru|}}}}}
|- align="center"
|-
|{{DU}} German
{{#if:{{{kr|}}}|{{!}}Korean{{!}}{{!}}{{{kr|}}}{{#if:{{{krr|}}}|<br/>''{{krr}}}''}}{{!}}{{!}}{{{mnkr|}}}}}
|{{{du|}}}
|-
|{{{mndu|}}}
|- align="center"
|{{IT}} Italian
|{{{it|}}}
|{{{mnit|}}}
|- align="center"
|{{KR}} Korean
|{{{kr|}}}
|{{{mnkr|}}}
|}</includeonly>
|}</includeonly>


Line 43: Line 34:
<pre>{{Lang
<pre>{{Lang
|jp=Name in Japanese
|jp=Name in Japanese
|jpr=Name in Japanese, Romanized
|mnjp=Meaning of the Japanese name
|mnjp=Meaning of the Japanese name


Line 48: Line 40:
|mnus=Meaning of the American name
|mnus=Meaning of the American name


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


|fr=Name in French
|fr=Name in French
Line 64: Line 56:


|kr=Name in Korean
|kr=Name in Korean
|krr=Name in Korean, Romanized
|mnkr=Meaning of the Korean name
|mnkr=Meaning of the Korean name
}}</pre>
}}</pre>
Line 69: Line 62:
{{Lang
{{Lang
|jp=Name in Japanese
|jp=Name in Japanese
|jpr=Name in Japanese, Romanized
|mnjp=Meaning of the Japanese name
|mnjp=Meaning of the Japanese name


Line 74: Line 68:
|mnus=Meaning of the American name
|mnus=Meaning of the American name


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


|fr=Name in French
|fr=Name in French
Line 84: Line 78:


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


|it=Name in Italian
|it=Name in Italian
Line 90: Line 84:


|kr=Name in Korean
|kr=Name in Korean
|krr=Name in Korean, Romanized
|mnkr=Meaning of the Korean name
|mnkr=Meaning of the Korean name
}}
}}
Line 96: Line 91:
<pre>{{Lang
<pre>{{Lang
|jp=
|jp=
|jpr=
|mnjp=
|mnjp=


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


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


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


|kr=
|kr=
|krr=
|mnkr=
|mnkr=
}}</pre>
}}</pre>


</noinclude>
</noinclude>

Revision as of 19:05, 30 July 2020


Usage

This input:

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

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

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

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

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

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

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

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

Will produce the following output:

Language Name Meaning
Japanese Name in Japanese
Template:Jpr}
Meaning of the Japanese name
English Name in American English Meaning of the American name
English (UK) Name in British English Meaning of the British name
French Name in French Meaning of the Frech name
German Name in German Meaning of the German name
Spanish Name in Spanish Meaning of the Spanish name
Italian Name in Italian Meaning of the Italian name
Korean Name in Korean
Template:Krr}
Meaning of the Korean name


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

{{Lang
|jp=
|jpr=
|mnjp=

|us=
|mnus=

|uk=
|mnuk=

|fr=
|mnfr=

|du=
|mndu=

|es=
|mnes=

|it=
|mnit=

|nl=
|mnnl=

|pt=
|mnpt=

|ru=
|mnru=

|kr=
|krr=
|mnkr=
}}