Template:Lang: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
(Attempt 2 at improving the template)
mNo edit summary
Line 5: Line 5:
!Meaning
!Meaning
|-
|-
{{#if:{{{jp|}}}|{{!}}Japanese{{!}}{{!}}{{{jp|}}}{{#if:{{{jpr|}}}|<br/>''{{jpr}}}''}}{{!}}{{!}}{{{mnjp|}}}}}
{{#if:{{{jp|}}}|{{!}}{{JP}} Japanese{{!}}{{!}}{{{jp|}}}{{#if:{{{jpr|}}}|<br/>''{{{jpr}}}''}}{{!}}{{!}}{{{mnjp|}}}}}
|-
|-
{{#if:{{{us|}}}|{{!}}English{{!}}{{!}}{{{us|}}}{{!}}{{!}}{{{mnus|}}}}}
{{#if:{{{us|}}}|{{!}}{{US}} English{{!}}{{!}}{{{us|}}}{{!}}{{!}}{{{mnus|}}}}}
|-
|-
{{#if:{{{uk|}}}|{{!}}English (UK){{!}}{{!}}{{{uk|}}}{{!}}{{!}}{{{mnuk|}}}}}
{{#if:{{{uk|}}}|{{!}}{{UK}} English (UK){{!}}{{!}}{{{uk|}}}{{!}}{{!}}{{{mnuk|}}}}}
|-
|-
{{#if:{{{fr|}}}|{{!}}French{{!}}{{!}}{{{fr|}}}{{!}}{{!}}{{{mnfr|}}}}}
{{#if:{{{fr|}}}|{{!}}{{FR}} French{{!}}{{!}}{{{fr|}}}{{!}}{{!}}{{{mnfr|}}}}}
|-
|-
{{#if:{{{du|}}}|{{!}}German{{!}}{{!}}{{{du|}}}{{!}}{{!}}{{{mndu|}}}}}
{{#if:{{{du|}}}|{{!}}{{DU}} German{{!}}{{!}}{{{du|}}}{{!}}{{!}}{{{mndu|}}}}}
|-
|-
{{#if:{{{es|}}}|{{!}}Spanish{{!}}{{!}}{{{es|}}}{{!}}{{!}}{{{mnes|}}}}}
{{#if:{{{es|}}}|{{!}}{{ES}} Spanish{{!}}{{!}}{{{es|}}}{{!}}{{!}}{{{mnes|}}}}}
|-
|-
{{#if:{{{it|}}}|{{!}}Italian{{!}}{{!}}{{{it|}}}{{!}}{{!}}{{{mnit|}}}}}
{{#if:{{{it|}}}|{{!}}{{IT}} Italian{{!}}{{!}}{{{it|}}}{{!}}{{!}}{{{mnit|}}}}}
|-
|-
{{#if:{{{nl|}}}|{{!}}Dutch{{!}}{{!}}{{{nl|}}}{{!}}{{!}}{{{mnnl|}}}}}
{{#if:{{{nl|}}}|{{!}}{{NL}} Dutch{{!}}{{!}}{{{nl|}}}{{!}}{{!}}{{{mnnl|}}}}}
|-
|-
{{#if:{{{pt|}}}|{{!}}Portuguese{{!}}{{!}}{{{pt|}}}{{!}}{{!}}{{{mnpt|}}}}}
{{#if:{{{pt|}}}|{{!}}{{PT}} Portuguese{{!}}{{!}}{{{pt|}}}{{!}}{{!}}{{{mnpt|}}}}}
|-
|-
{{#if:{{{ru|}}}|{{!}}Russian{{!}}{{!}}{{{ru|}}}{{!}}{{!}}{{{mnru|}}}}}
{{#if:{{{ru|}}}|{{!}}{{RU}} Russian{{!}}{{!}}{{{ru|}}}{{!}}{{!}}{{{mnru|}}}}}
|-
|-
{{#if:{{{kr|}}}|{{!}}Korean{{!}}{{!}}{{{kr|}}}{{#if:{{{krr|}}}|<br/>''{{krr}}}''}}{{!}}{{!}}{{{mnkr|}}}}}
{{#if:{{{kr|}}}|{{!}}{{KR}} Korean{{!}}{{!}}{{{kr|}}}{{#if:{{{krr|}}}|<br/>''{{{krr}}}''}}{{!}}{{!}}{{{mnkr|}}}}}
|-
|-
|}</includeonly>
|}</includeonly>
Line 54: Line 54:
|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
|mneu=Meaning of the Russian name


|kr=Name in Korean
|kr=Name in Korean
Line 82: Line 91:
|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
|mneu=Meaning of the Russian name


|kr=Name in Korean
|kr=Name in Korean

Revision as of 19:13, 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

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

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

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

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

Will produce the following output:

Language Name Meaning
Flag of Japan.svg Japanese Name in Japanese
Name in Japanese, Romanized
Meaning of the Japanese name
Flag of the United States.svg English Name in American English Meaning of the American name
Flag of the United Kingdom (3-5).svg English (UK) Name in British English Meaning of the British name
Flag of France (1794–1815, 1830–1974, 2020–present).svg French Name in French Meaning of the Frech name
Template:DU German Name in German Meaning of the German name
Flag of Spain.svg Spanish Name in Spanish Meaning of the Spanish name
Flag of Italy.svg Italian Name in Italian Meaning of the Italian name
Flag of the Netherlands.svg Dutch Name in Dutch Meaning of the Dutch name
Flag of Portugal.svg Portuguese Name in Portuguese Meaning of the Portuguese name
Flag of Russia.svg Russian Name in Russian
Flag of South Korea.svg Korean Name in Korean
Name in Korean, Romanized
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=
}}