Template:Lang: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(43 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{| width="85%" border="1" style="border-collapse:collapse"
<includeonly>{|class="wikitable" align="center" style="width:100%"
|- bgcolor="#fff7f7"
!width="12%"|Language
!Language
!width="44%"|Name
!Name
!width="44%"|Meaning
!Meaning
|-
|- align="center"
{{#if:{{{jp|}}}|{{!}}{{JP}} Japanese{{!}}{{!}}{{#if:{{{rojp|}}}|{{tt|{{{jp|}}}|{{{rojp|}}}}}|{{{jp|}}}}}{{!}}{{!}}{{{mnjp|}}}}}
|{{JP}} Japanese
|-
|{{{jp|}}}
{{#if:{{{usa|}}}|{{!}}{{US}} English<sup>{{tt|NOA|Nintendo of America}}</sup>{{!}}{{!}}{{{usa|}}}{{!}}{{!}}{{{mnusa|}}}}}
|{{{mnjp|}}}
|-
|- align="center"
{{#if:{{{us|}}}|{{!}}{{US}} English<sup>{{tt|NOA|Nintendo of America}}</sup>{{!}}{{!}}{{{us|}}}{{!}}{{!}}{{{mnus|}}}}}
|{{US}} English (US)
|-
|{{{us|}}}
{{#if:{{{uk|}}}|{{!}}{{UK}} English<sup>{{tt|NOE|Nintendo of Europe}}</sup>{{!}}{{!}}{{{uk|}}}{{!}}{{!}}{{{mnuk|}}}|{{#if:{{{us|}}}|{{!}}{{UK}} English<sup>{{tt|NOE|Nintendo of Europe}}{{!}}{{!}}{{{us|}}}{{!}}{{!}}}}}}
|{{{mnus|}}}
|-
|- align="center"
{{#if:{{{ca|}}}|{{!}}{{CA}} French<sup>{{tt|NOA|Nintendo of America}}</sup>{{!}}{{!}}{{{ca|}}}{{!}}{{!}}{{{mnca|}}}}}
|{{UK}} English (UK)
|-
|{{{uk|}}}
{{#if:{{{fr|}}}|{{!}}{{FR}} French{{#if:{{{ca|}}}|<sup>{{tt|NOE|Nintendo of Europe}}</sup>}}{{!}}{{!}}{{{fr|}}}{{!}}{{!}}{{{mnfr|}}}}}
|{{{mnuk|}}}
|-
|- align="center"
{{#if:{{{la|}}}|{{!}}{{LA}} Spanish<sup>{{tt|NOA|Nintendo of America}}</sup>{{!}}{{!}}{{{la|}}}{{!}}{{!}}{{{mnla|}}}}}
|{{FR}} French
|-
|{{{fr|}}}
{{#if:{{{es|}}}|{{!}}{{ES}} Spanish{{#if:{{{la|}}}|<sup>{{tt|NOE|Nintendo of Europe}}</sup>}}{{!}}{{!}}{{{es|}}}{{!}}{{!}}{{{mnes|}}}}}
|{{{mnfr|}}}
|-
|- align="center"
{{#if:{{{de|}}}|{{!}}{{DE}} German{{!}}{{!}}{{{de|}}}{{!}}{{!}}{{{mnde|}}}}}
|{{ES}} Spanish
|-
|{{{es|}}}
{{#if:{{{it|}}}|{{!}}{{IT}} Italian{{!}}{{!}}{{{it|}}}{{!}}{{!}}{{{mnit|}}}}}
|{{{mnes|}}}
|-
|- align="center"
{{#if:{{{nl|}}}|{{!}}{{NL}} Dutch{{!}}{{!}}{{{nl|}}}{{!}}{{!}}{{{mnnl|}}}}}
|{{DU}} German
|-
|{{{du|}}}
{{#if:{{{pt|}}}|{{!}}{{PT}} Portuguese{{!}}{{!}}{{{pt|}}}{{!}}{{!}}{{{mnpt|}}}}}
|{{{mndu|}}}
|-
|- align="center"
{{#if:{{{se|}}}|{{!}}{{SE}} Swedish{{!}}{{!}}{{{se|}}}{{!}}{{!}}{{{mnse|}}}}}
|{{IT}} Italian
|-
|{{{it|}}}
{{#if:{{{no|}}}|{{!}}{{NO}} Norwegian{{!}}{{!}}{{{no|}}}{{!}}{{!}}{{{mnno|}}}}}
|{{{mnit|}}}
|-
|- align="center"
{{#if:{{{ru|}}}|{{!}}{{RU}} Russian{{!}}{{!}}{{#if:{{{roru|}}}|{{tt|{{{ru|}}}|{{{roru|}}}}}|{{{ru|}}}}}{{!}}{{!}}{{{mnru|}}}}}
|{{KR}} Korean
|-
|{{{kr|}}}
{{#if:{{{ch|}}}|{{!}}{{CH}} Chinese<sup>{{tt|SI|Simplified}}</sup>{{!}}{{!}}{{#if:{{{roch|}}}|{{tt|{{{ch|}}}|{{{roch|}}}}}|{{{ch|}}}}}{{!}}{{!}}{{{mnch|}}}}}
|{{{mnkr|}}}
|-
|}</includeonly>
{{#if:{{{tw|}}}|{{!}}{{TW}} Chinese<sup>{{tt|TR|Traditional}}</sup>{{!}}{{!}}{{#if:{{{rotw|}}}|{{tt|{{{tw|}}}|{{{rotw|}}}}}|{{{tw|}}}}}{{!}}{{!}}{{{mntw|}}}}}
 
|-
<noinclude>
{{#if:{{{kr|}}}|{{!}}{{KR}} Korean{{!}}{{!}}{{#if:{{{rokr|}}}|{{tt|{{{kr|}}}|{{{rokr|}}}}}|{{{kr|}}}}}{{!}}{{!}}{{{mnkr|}}}}}
== Usage ==
|-
|}</includeonly><noinclude>
==Usage==
This input:
This input:
<pre>{{Lang
<pre>{{Lang
|jp=Name in Japanese
|jp=Name in Japanese
|rojp=Name in Japanese, Romanized
|mnjp=Meaning of the Japanese name
|mnjp=Meaning of the Japanese name
 
|us=Name in English (NOA)
|us=Name in American English
|mnus=Meaning of the American English name
|mnus=Meaning of the American name
|uk=Name in English (NOE)
 
|mnuk=Meaning of the Euopean English name
|uk=Name in English
|ca=Name in French (NOA)
|mnuk=Meaning of the English name
|mnca=Meaning of the Canadian French name
 
|fr=Name in French (NOE)
|fr=Name in French
|mnfr=Meaning of the European French name
|mnfr=Meaning of the Frech name
|la=Name in Spanish (NOA)
 
|mnla=Meaning of the Latin American Spanish name
|es=Name in Spanish
|es=Name in Spanish (NOE)
|mnes=Meaning of the Spanish name
|mnes=Meaning of the European Spanish name
 
|de=Name in German
|du=Name in German
|mnde=Meaning of the German name
|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
|se=Name in Swedish
|mnse=Meaning of the Swedish name
|no=Name in Norwegian
|mnno=Meaning of the Norwegian name
|ru=Name in Russian
|roru=Name in Russian, Romanized
|mnru=Meaning of the Russian name
|ch=Name in Chinese (Simplified)
|roch=Name in Chinese (Simplified), Romanized
|mnch=Meaning of the Simplified Chinese name
|tw=Name in Chinese (Traditional)
|rotw=Name in Chinese (Traditional), Romanized
|mntw=Meaning of the Traditional Chinese name
|kr=Name in Korean
|kr=Name in Korean
|mnkr=Meaning of the Korean name
|rokr=Name in Korean, Romanized
}}</pre>
|mnkr=Meaning of the Korean name}}</pre>
Will produce the following output:
Will produce the following output:
{{Lang
{{Lang
|jp=Name in Japanese
|jp=Name in Japanese
|rojp=Name in Japanese, Romanized
|mnjp=Meaning of the Japanese name
|mnjp=Meaning of the Japanese name
|us=Name in English (NOA)
|mnus=Meaning of the American English name
|uk=Name in English (NOE)
|mnuk=Meaning of the Euopean English name
|ca=Name in French (NOA)
|mnca=Meaning of the Canadian French name
|fr=Name in French (NOE)
|mnfr=Meaning of the European French name
|la=Name in Spanish (NOA)
|mnla=Meaning of the Latin American Spanish name
|es=Name in Spanish (NOE)
|mnes=Meaning of the European Spanish name
|de=Name in German
|mnde=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
|se=Name in Swedish
|mnse=Meaning of the Swedish name
|no=Name in Norwegian
|mnno=Meaning of the Norwegian name
|ru=Name in Russian
|roru=Name in Russian, Romanized
|mnru=Meaning of the Russian name
|ch=Name in Chinese (Simplified)
|roch=Name in Chinese (Simplified), Romanized
|mnch=Meaning of the Simplified Chinese name
|tw=Name in Chinese (Traditional)
|rotw=Name in Chinese (Traditional), Romanized
|mntw=Meaning of the Traditional Chinese name
|kr=Name in Korean
|rokr=Name in Korean, Romanized
|mnkr=Meaning of the Korean name}}
The ''[[Rhythm Heaven Series]]'' has traditionally supported Japanese in Japan, English in North America, UK English, French, German, Italian and Spanish in Europe, and Korean in South Korea.


|us=Name in American English
This template also supports Canadian French, Latin American Spanish, Dutch, Portuguese, Swedish, Norwegian, Russian, Chinese (Simplified) and Chinese (Traditional), as the series' promotional material (for example, boxart, manuals, websites, etc) may support these languages while the games themselves do not, and because of the series being represented in games such as ''[[Super Smash Bros.]]'' which support many of if not all of these languages.
|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
 
|es=Name in Spanish
|mnes=Meaning of the Spanish name


|du=Name in German
Any languages left blank will be hidden. English (NOE) by default shows the same values as English (NOA), as most of the time, they are the same. There is a separate row labeled "usa" and "mnusa" to be used for edge cases where a subject does have an English (NOA) name but no English (NOE) name. French and Spanish ommit the "NOE" clarification if the NOA variants are left blank. Portuguese in this case refers to the NOE variant, however it is not labeled as such because no game covered on ''{{SITENAME}}'' supports Brazilian Portuguese.
|mndu=Meaning  of the German name


|it=Name in Italian
For romanizations, a tooltip is used to save on space, meaning the user has to hover over the text to see the romanization. Because HTML tags break tooltips, if you need to have multiple lines on a romanzation field, use this: "<code>&amp;#xa;</code>".
|mnit=Meaning of the Italian name
 
|kr=Name in Korean
|mnkr=Meaning of the Korean name
}}


Here is a blank template reference (for copying and pasting):
Here is a blank template reference (for copying and pasting):
<pre>{{Lang
<pre>{{Lang
|jp=
|jp=
|rojp=
|mnjp=
|mnjp=
|us=
|us=
|mnus=
|mnus=
|uk=
|uk=
|mnuk=
|mnuk=
 
|ca=
|mnca=
|fr=
|fr=
|mnfr=
|mnfr=
 
|la=
|mnla=
|es=
|es=
|mnes=
|mnes=
 
|de=
|du=
|mnde=
|mndu=
 
|it=
|it=
|mnit=
|mnit=
 
|nl=
|mnnl=
|pt=
|mnpt=
|se=
|mnse=
|no=
|mnno=
|ru=
|roru=
|mnru=
|ch=
|roch=
|mnch=
|tw=
|rotw=
|mntw=
|kr=
|kr=
|mnkr=
|rokr=
}}</pre>
|mnkr=}}</pre>
 
</noinclude>
</noinclude>

Latest revision as of 14:22, 6 August 2023

Usage

This input:

{{Lang
|jp=Name in Japanese
|rojp=Name in Japanese, Romanized
|mnjp=Meaning of the Japanese name
|us=Name in English (NOA)
|mnus=Meaning of the American English name
|uk=Name in English (NOE)
|mnuk=Meaning of the Euopean English name
|ca=Name in French (NOA)
|mnca=Meaning of the Canadian French name
|fr=Name in French (NOE)
|mnfr=Meaning of the European French name
|la=Name in Spanish (NOA)
|mnla=Meaning of the Latin American Spanish name
|es=Name in Spanish (NOE)
|mnes=Meaning of the European Spanish name
|de=Name in German
|mnde=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
|se=Name in Swedish
|mnse=Meaning of the Swedish name
|no=Name in Norwegian
|mnno=Meaning of the Norwegian name
|ru=Name in Russian
|roru=Name in Russian, Romanized
|mnru=Meaning of the Russian name
|ch=Name in Chinese (Simplified)
|roch=Name in Chinese (Simplified), Romanized
|mnch=Meaning of the Simplified Chinese name
|tw=Name in Chinese (Traditional)
|rotw=Name in Chinese (Traditional), Romanized
|mntw=Meaning of the Traditional 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 Meaning of the Japanese name
Flag of the United States.svg EnglishNOA Name in English (NOA) Meaning of the American English name
Flag of the United Kingdom (3-5).svg EnglishNOE Name in English (NOE) Meaning of the Euopean English name
Flag of Canada (Pantone).svg FrenchNOA Name in French (NOA) Meaning of the Canadian French name
Flag of France (1794–1815, 1830–1974, 2020–present).svg FrenchNOE Name in French (NOE) Meaning of the European French name
Flag of Mexico.svg SpanishNOA Name in Spanish (NOA) Meaning of the Latin American Spanish name
Flag of Spain.svg SpanishNOE Name in Spanish (NOE) Meaning of the European Spanish name
Flag of Germany.svg German Name in German Meaning of the German 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 Sweden.svg Swedish Name in Swedish Meaning of the Swedish name
Flag of Norway.svg Norwegian Name in Norwegian Meaning of the Norwegian name
Flag of Russia.svg Russian Name in Russian Meaning of the Russian name
Flag of the People's Republic of China.svg ChineseSI Name in Chinese (Simplified) Meaning of the Simplified Chinese name
Flag of the Republic of China.svg ChineseTR Name in Chinese (Traditional) Meaning of the Traditional Chinese name
Flag of South Korea.svg Korean Name in Korean Meaning of the Korean name

The Rhythm Heaven Series has traditionally supported Japanese in Japan, English in North America, UK English, French, German, Italian and Spanish in Europe, and Korean in South Korea.

This template also supports Canadian French, Latin American Spanish, Dutch, Portuguese, Swedish, Norwegian, Russian, Chinese (Simplified) and Chinese (Traditional), as the series' promotional material (for example, boxart, manuals, websites, etc) may support these languages while the games themselves do not, and because of the series being represented in games such as Super Smash Bros. which support many of if not all of these languages.

Any languages left blank will be hidden. English (NOE) by default shows the same values as English (NOA), as most of the time, they are the same. There is a separate row labeled "usa" and "mnusa" to be used for edge cases where a subject does have an English (NOA) name but no English (NOE) name. French and Spanish ommit the "NOE" clarification if the NOA variants are left blank. Portuguese in this case refers to the NOE variant, however it is not labeled as such because no game covered on Rhythm Heaven Wiki supports Brazilian Portuguese.

For romanizations, a tooltip is used to save on space, meaning the user has to hover over the text to see the romanization. Because HTML tags break tooltips, if you need to have multiple lines on a romanzation field, use this: "&#xa;".

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

{{Lang
|jp=
|rojp=
|mnjp=
|us=
|mnus=
|uk=
|mnuk=
|ca=
|mnca=
|fr=
|mnfr=
|la=
|mnla=
|es=
|mnes=
|de=
|mnde=
|it=
|mnit=
|nl=
|mnnl=
|pt=
|mnpt=
|se=
|mnse=
|no=
|mnno=
|ru=
|roru=
|mnru=
|ch=
|roch=
|mnch=
|tw=
|rotw=
|mntw=
|kr=
|rokr=
|mnkr=}}