Template:Lang: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{| width="100%" border="1" style="border-collapse:collapse"  
<includeonly>{|class="article-table" width="100%" style="border:1px solid #072879;{{R|3}}"  
|- bgcolor="#fff7f7"
|- bgcolor="#0038D8"
!width="16%"|Language
!width="12%"|Language
!width="42%"|Name
!width="44%"|Name
!width="42%"|Meaning
!width="44%"|Meaning
|- bgcolor=white
|-
{{#if:{{{jp|}}}|{{!}}{{JP}} Japanese{{!}}{{!}}{{{jp|}}}{{#if:{{{rojp|}}}|<br/>''{{{rojp|}}}''}}{{!}}{{!}}{{{mnjp|}}}}}
{{#if:{{{jp|}}}|{{!}}{{JP}} Japanese{{!}}{{!}}{{{jp|}}}{{#if:{{{rojp|}}}|<br/>''{{{rojp|}}}''}}{{!}}{{!}}{{{mnjp|}}}}}
|- bgcolor=white
|-
{{#if:{{{us|}}}|{{!}}{{US}} English{{!}}{{!}}{{{us|}}}{{!}}{{!}}{{{mnus|}}}}}
{{#if:{{{us|}}}|{{!}}{{US}} English{{!}}{{!}}{{{us|}}}{{!}}{{!}}{{{mnus|}}}}}
|- bgcolor=white
|-
{{#if:{{{uk|}}}|{{!}}{{UK}} UK English{{!}}{{!}}{{{uk|}}}{{!}}{{!}}{{{mnuk|}}}}}
{{#if:{{{uk|}}}|{{!}}{{UK}} UK English{{!}}{{!}}{{{uk|}}}{{!}}{{!}}{{{mnuk|}}}}}
|- bgcolor=white
|-
{{#if:{{{fr|}}}|{{!}}{{FR}} French{{!}}{{!}}{{{fr|}}}{{!}}{{!}}{{{mnfr|}}}}}
{{#if:{{{fr|}}}|{{!}}{{FR}} French{{!}}{{!}}{{{fr|}}}{{!}}{{!}}{{{mnfr|}}}}}
|- bgcolor=white
|-
{{#if:{{{du|}}}|{{!}}{{DU}} German{{!}}{{!}}{{{du|}}}{{!}}{{!}}{{{mndu|}}}}}
{{#if:{{{du|}}}|{{!}}{{DU}} German{{!}}{{!}}{{{du|}}}{{!}}{{!}}{{{mndu|}}}}}
|- bgcolor=white
|-
{{#if:{{{it|}}}|{{!}}{{IT}} Italian{{!}}{{!}}{{{it|}}}{{!}}{{!}}{{{mnit|}}}}}
{{#if:{{{it|}}}|{{!}}{{IT}} Italian{{!}}{{!}}{{{it|}}}{{!}}{{!}}{{{mnit|}}}}}
|- bgcolor=white
|-
{{#if:{{{es|}}}|{{!}}{{ES}} Spanish{{!}}{{!}}{{{es|}}}{{!}}{{!}}{{{mnes|}}}}}
{{#if:{{{es|}}}|{{!}}{{ES}} Spanish{{!}}{{!}}{{{es|}}}{{!}}{{!}}{{{mnes|}}}}}
|- bgcolor=white
|-
{{#if:{{{nl|}}}|{{!}}{{NL}} Dutch{{!}}{{!}}{{{nl|}}}{{!}}{{!}}{{{mnnl|}}}}}
{{#if:{{{nl|}}}|{{!}}{{NL}} Dutch{{!}}{{!}}{{{nl|}}}{{!}}{{!}}{{{mnnl|}}}}}
|- bgcolor=white
|-
{{#if:{{{pt|}}}|{{!}}{{PT}} Portuguese{{!}}{{!}}{{{pt|}}}{{!}}{{!}}{{{mnpt|}}}}}
{{#if:{{{pt|}}}|{{!}}{{PT}} Portuguese{{!}}{{!}}{{{pt|}}}{{!}}{{!}}{{{mnpt|}}}}}
|- bgcolor=white
|-
{{#if:{{{ru|}}}|{{!}}{{RU}} Russian{{!}}{{!}}{{{ru|}}}{{#if:{{{roru|}}}|<br/>''{{{roru|}}}''}}{{!}}{{!}}{{{mnru|}}}}}
{{#if:{{{ru|}}}|{{!}}{{RU}} Russian{{!}}{{!}}{{{ru|}}}{{#if:{{{roru|}}}|<br/>''{{{roru|}}}''}}{{!}}{{!}}{{{mnru|}}}}}
|- bgcolor=white
|-
{{#if:{{{ch|}}}|{{!}}{{CH}} Chinese{{!}}{{!}}{{{ch|}}}{{#if:{{{roch|}}}|<br/>''{{{roch|}}}''}}{{!}}{{!}}{{{mnch|}}}}}
{{#if:{{{ch|}}}|{{!}}{{CH}} Chinese{{!}}{{!}}{{{ch|}}}{{#if:{{{roch|}}}|<br/>''{{{roch|}}}''}}{{!}}{{!}}{{{mnch|}}}}}
|- bgcolor=white
|-
{{#if:{{{kr|}}}|{{!}}{{KR}} Korean{{!}}{{!}}{{{kr|}}}{{#if:{{{rokr|}}}|<br/>''{{{rokr|}}}''}}{{!}}{{!}}{{{mnkr|}}}}}
{{#if:{{{kr|}}}|{{!}}{{KR}} Korean{{!}}{{!}}{{{kr|}}}{{#if:{{{rokr|}}}|<br/>''{{{rokr|}}}''}}{{!}}{{!}}{{{mnkr|}}}}}
|-
|-

Revision as of 14:53, 16 August 2021


Usage

This input:

{{Lang
|jp=Name in Japanese
|rojp=Name in Japanese, Romanized
|mnjp=Meaning of the Japanese name
|us=Name in English (US)
|mnus=Meaning of the American name
|uk=Name in English (UK)
|mnuk=Meaning of the British name
|fr=Name in French
|mnfr=Meaning of the French name
|du=Name in German
|mndu=Meaning of the German name
|it=Name in Italian
|mnit=Meaning of the Italian name
|es=Name in Spanish
|mnes=Meaning of the Spanish 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
|roru=Name in Russian, Romanized
|mnru=Meaning of the Russian name
|ch=Name in Chinese
|mnch=Meaning of the Chinese name
|kr=Name in Korean
|rokr=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 English (US) Meaning of the American name
Flag of the United Kingdom (3-5).svg UK English Name in English (UK) Meaning of the British name
Flag of France (1794–1815, 1830–1974, 2020–present).svg French Name in French Meaning of the French name
Template:DU German Name in German Meaning of the German name
Flag of Italy.svg Italian Name in Italian Meaning of the Italian name
Flag of Spain.svg Spanish Name in Spanish Meaning of the Spanish 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
Name in Russian, Romanized
Meaning of the Russian name
Flag of the People's Republic of China.svg Chinese Name in Chinese
Name in Chinese, Romanized
Meaning of the Chinese name
Flag of South Korea.svg Korean Name in Korean
Name in Korean, Romanized
Meaning of the Korean name

Dutch, Portuguese, Russian and Chinese are included because of the series' representation in Super Smash Bros. as well as in promotional material. Most articles won't need it as the Rhythm Heaven Series isn't officially localized in these languages.

Any languages left blank will be hidden. Typically, UK English is reserved for cases where it differs from the US version.

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

{{Lang
|jp=
|rojp=
|mnjp=
|us=
|mnus=
|uk=
|mnuk=
|fr=
|mnfr=
|du=
|mndu=
|it=
|mnit=
|es=
|mnes=
|nl=
|mnnl=
|pt=
|mnpt=
|ru=
|roru=
|mnru=
|ch=
|roch=
|mnch=
|kr=
|rokr=
|mnkr=}}