Template:Lang: Difference between revisions

From Rhythm Heaven Wiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 9: Line 9:
{{#if:{{{us|}}}|{{!}}{{US}} English<sup>{{tt|US|American}}</sup>{{!}}{{!}}{{{us|}}}{{!}}{{!}}{{{mnus|}}}}}
{{#if:{{{us|}}}|{{!}}{{US}} English<sup>{{tt|US|American}}</sup>{{!}}{{!}}{{{us|}}}{{!}}{{!}}{{{mnus|}}}}}
|-
|-
{{#if:{{{uk|}}}|{{!}}{{UK}} English<sup>{{tt|EU|European}}</sup>{{!}}{{!}}{{{uk|}}}{{!}}{{!}}{{{mnuk|}}}|{{#if:{{{us|}}}|{{!}}English<sup>{{tt|EU|European}}{{!}}{{!}}{{{us|}}}}}}}
{{#if:{{{uk|}}}|{{!}}{{UK}} English<sup>{{tt|EU|European}}</sup>{{!}}{{!}}{{{uk|}}}{{!}}{{!}}{{{mnuk|}}}|{{#if:{{{us|}}}|{{!}}English<sup>{{tt|EU|European}}{{!}}{{!}}{{{us|}}}{{!}}{{!}}}}}}
|-
|-
{{#if:{{{ca|}}}|{{!}}{{CA}} French<sup>{{tt|CA|Canadian}}</sup>{{!}}{{!}}{{{ca|}}}{{!}}{{!}}{{{mnca|}}}}}
{{#if:{{{ca|}}}|{{!}}{{CA}} French<sup>{{tt|CA|Canadian}}</sup>{{!}}{{!}}{{{ca|}}}{{!}}{{!}}{{{mnca|}}}}}

Revision as of 16:12, 18 November 2022

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 English name
|uk=Name in English (EU)
|mnuk=Meaning of the British English name
|ca=Name in French (CA)
|mnca=Meaning of the Canadian French name
|fr=Name in French (EU)
|mnfr=Meaning of the French name
|la=Name in Spanish (LA)
|mnla=Meaning of the Latin-American Spanish name
|es=Name in Spanish (EU)
|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
|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 EnglishUS Name in English (US) Meaning of the American English name
Flag of the United Kingdom (3-5).svg EnglishEU Name in English (EU) Meaning of the British English name
Flag of Canada (Pantone).svg FrenchCA Name in French (CA) Meaning of the Canadian French name
Flag of France (1794–1815, 1830–1974, 2020–present).svg FrenchEU Name in French (EU) Meaning of the French name
Flag of Mexico.svg SpanishLA Name in Spanish (LA) Meaning of the Latin-American Spanish name
Flag of Spain.svg SpanishEU Name in Spanish (EU) Meaning of the 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 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, Russian, Chinese (Simplified) and Chinese (Traditional), as the series' promotional material (for example, 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. UK English by default shows the same values as US English, as most of the time, they are the same. French and Spanish ommit the "EU" clarification if the American variants are left blank. Portuguese in this case refers to the European variant, however it is not labeled as such because no game covered on Rhythm Heaven Wiki supports Brazilian Portuguese.

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=
|du=
|mndu=
|it=
|mnit=
|nl=
|mnnl=
|pt=
|mnpt=
|ru=
|roru=
|mnru=
|ch=
|roch=
|mnch=
|ct=
|roct=
|mnct=
|kr=
|rokr=
|mnkr=}}