Template:Lang: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(47 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<includeonly>{| width="80%" 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
!Origin
|-
|- 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|}}}}}
|{{{orjp|}}}
|-
|- align="center"
{{#if:{{{us|}}}|{{!}}{{US}} English<sup>{{tt|NOA|Nintendo of America}}</sup>{{!}}{{!}}{{{us|}}}{{!}}{{!}}{{{mnus|}}}}}
|{{FR}} French
|-
|{{{fr|}}}
{{#if:{{{uk|}}}|{{!}}{{UK}} English<sup>{{tt|NOE|Nintendo of Europe}}</sup>{{!}}{{!}}{{{uk|}}}{{!}}{{!}}{{{mnuk|}}}|{{#if:{{{us|}}}|{{!}}{{UK}} English<sup>{{tt|NOE|Nintendo of Europe}}{{!}}{{!}}{{{us|}}}{{!}}{{!}}}}}}
|{{{orfr|}}}
|-
|- align="center"
{{#if:{{{ca|}}}|{{!}}{{CA}} French<sup>{{tt|NOA|Nintendo of America}}</sup>{{!}}{{!}}{{{ca|}}}{{!}}{{!}}{{{mnca|}}}}}
|{{ES}} Spanish
|-
|{{{es|}}}
{{#if:{{{fr|}}}|{{!}}{{FR}} French{{#if:{{{ca|}}}|<sup>{{tt|NOE|Nintendo of Europe}}</sup>}}{{!}}{{!}}{{{fr|}}}{{!}}{{!}}{{{mnfr|}}}}}
|{{{ores|}}}
|-
|- align="center"
{{#if:{{{la|}}}|{{!}}{{LA}} Spanish<sup>{{tt|NOA|Nintendo of America}}</sup>{{!}}{{!}}{{{la|}}}{{!}}{{!}}{{{mnla|}}}}}
|{{DU}} German
|-
|{{{du|}}}
{{#if:{{{es|}}}|{{!}}{{ES}} Spanish{{#if:{{{la|}}}|<sup>{{tt|NOE|Nintendo of Europe}}</sup>}}{{!}}{{!}}{{{es|}}}{{!}}{{!}}{{{mnes|}}}}}
|{{{ordu|}}}
|-
|- align="center"
{{#if:{{{de|}}}|{{!}}{{DE}} German{{!}}{{!}}{{{de|}}}{{!}}{{!}}{{{mnde|}}}}}
|{{IT}} Italian
|-
|{{{it|}}}
{{#if:{{{it|}}}|{{!}}{{IT}} Italian{{!}}{{!}}{{{it|}}}{{!}}{{!}}{{{mnit|}}}}}
|{{{orit|}}}
|-
|- align="center"
{{#if:{{{nl|}}}|{{!}}{{NL}} Dutch{{!}}{{!}}{{{nl|}}}{{!}}{{!}}{{{mnnl|}}}}}
|{{KR}} Korean
|-
|{{{kr|}}}
{{#if:{{{pt|}}}|{{!}}{{PT}} Portuguese{{!}}{{!}}{{{pt|}}}{{!}}{{!}}{{{mnpt|}}}}}
|{{{orkr|}}}
|-
|}</includeonly>
{{#if:{{{se|}}}|{{!}}{{SE}} Swedish{{!}}{{!}}{{{se|}}}{{!}}{{!}}{{{mnse|}}}}}
 
|-
<noinclude>
{{#if:{{{no|}}}|{{!}}{{NO}} Norwegian{{!}}{{!}}{{{no|}}}{{!}}{{!}}{{{mnno|}}}}}
== Usage ==
|-
{{#if:{{{ru|}}}|{{!}}{{RU}} Russian{{!}}{{!}}{{#if:{{{roru|}}}|{{tt|{{{ru|}}}|{{{roru|}}}}}|{{{ru|}}}}}{{!}}{{!}}{{{mnru|}}}}}
|-
{{#if:{{{ch|}}}|{{!}}{{CH}} Chinese<sup>{{tt|SI|Simplified}}</sup>{{!}}{{!}}{{#if:{{{roch|}}}|{{tt|{{{ch|}}}|{{{roch|}}}}}|{{{ch|}}}}}{{!}}{{!}}{{{mnch|}}}}}
|-
{{#if:{{{tw|}}}|{{!}}{{TW}} Chinese<sup>{{tt|TR|Traditional}}</sup>{{!}}{{!}}{{#if:{{{rotw|}}}|{{tt|{{{tw|}}}|{{{rotw|}}}}}|{{{tw|}}}}}{{!}}{{!}}{{{mntw|}}}}}
|-
{{#if:{{{kr|}}}|{{!}}{{KR}} Korean{{!}}{{!}}{{#if:{{{rokr|}}}|{{tt|{{{kr|}}}|{{{rokr|}}}}}|{{{kr|}}}}}{{!}}{{!}}{{{mnkr|}}}}}
|-
|}</includeonly><noinclude>
==Usage==
This input:
This input:
<pre>{{Lang
<pre>{{Lang
|jp=Game Name in Japanese
|jp=Name in Japanese
|orjp=Origin of the Japanese name
|rojp=Name in Japanese, Romanized
 
|mnjp=Meaning of the Japanese name
|fr=Game Name in French
|us=Name in English (NOA)
|orfr=Origin of the Frech name
|mnus=Meaning of the American English name
 
|uk=Name in English (NOE)
|es=Game Name in Spanish
|mnuk=Meaning of the Euopean English name
|ores=Origin of the Spanish name
|ca=Name in French (NOA)
 
|mnca=Meaning of the Canadian French name
|du=Game Name in German
|fr=Name in French (NOE)
|ordu=Origin of the German name
|mnfr=Meaning of the European French name
 
|la=Name in Spanish (NOA)
|it=Game Name in Italian
|mnla=Meaning of the Latin American Spanish name
|orit=Origin of the Italian name
|es=Name in Spanish (NOE)
 
|mnes=Meaning of the European Spanish name
|kr=Game Name in Korean
|de=Name in German
|orkr=Origin of the Korean name
|mnde=Meaning of the German name
}}</pre>
|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}}</pre>
Will produce the following output:
Will produce the following output:
{{Lang
{{Lang
|jp=Game Name in Japanese
|jp=Name in Japanese
|orjp=Origin of the Japanese name
|rojp=Name in Japanese, Romanized
 
|mnjp=Meaning of the Japanese name
|fr=Game Name in French
|us=Name in English (NOA)
|orfr=Origin of the Frech name
|mnus=Meaning of the American English name
 
|uk=Name in English (NOE)
|es=Game Name in Spanish
|mnuk=Meaning of the Euopean English name
|ores=Origin of the Spanish 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.


|du=Game Name in German
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.
|ordu=Origin of the German name


|it=Game Name in Italian
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.
|orit=Origin of the Italian name


|kr=Game Name in Korean
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>".
|orkr=Origin 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=
|orjp=
|rojp=
 
|mnjp=
|us=
|mnus=
|uk=
|mnuk=
|ca=
|mnca=
|fr=
|fr=
|orfr=
|mnfr=
 
|la=
|mnla=
|es=
|es=
|ores=
|mnes=
 
|de=
|du=
|mnde=
|ordu=
 
|it=
|it=
|orit=
|mnit=
 
|nl=
|mnnl=
|pt=
|mnpt=
|se=
|mnse=
|no=
|mnno=
|ru=
|roru=
|mnru=
|ch=
|roch=
|mnch=
|tw=
|rotw=
|mntw=
|kr=
|kr=
|orkr=
|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=}}