Template:Foreignname: Difference between revisions

Moving Portuguese to the "languages the games have been translated into" block
m (Reverted edits by Volatile Dweevil (talk) to last revision by Oussama2002)
(Moving Portuguese to the "languages the games have been translated into" block)
 
(47 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{| cellspacing=0 border=1 cellpadding=4 style="border-collapse:collapse;"
{| class="wikitable"
!Language
!Language
!Name
!Name
!Meaning
!Meaning
{{#if:{{{notes|}}}|
!Notes}}
|-
|-
{{#if:{{{Jap|}}}|{{!}}Japanese{{!}}{{!}}{{{Jap|}}}{{#if:{{{JapR|}}}|<br/>''{{{JapR}}}''}}{{!}}{{!}}{{{JapM|}}}}}
{{#if:{{{Jap|}}}|{{!}}[[File:Flag of Japan.svg|20px|link=]]&nbsp;Japanese{{!}}{{!}}{{{Jap|}}}<sup style="font-size: 70%;">[[Pikipedia:Japanese|?]]</sup>{{#if:{{{JapR|}}}|<br>''{{{JapR}}}''}}{{!}}{{!}}{{{JapM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{JapN|}}}}} }}
|-
|-
{{#if:{{{Spa|}}}|{{!}}Spanish{{!}}{{!}}{{{Spa|}}}{{!}}{{!}}{{{SpaM|}}}}}
{{#if:{{{Chi|}}}|{{!}}[[File:Flag of People's Republic of China.svg|20px|link=]]&nbsp;Chinese{{!}}{{!}}{{{Chi|}}}{{#if:{{{ChiR|}}}|<br>''{{{ChiR}}}''}}{{!}}{{!}}{{{ChiM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{ChiN|}}}}} }}
|-
|-
{{#if:{{{SpaA|}}}|{{!}}Spanish&nbsp;(NOA){{!}}{{!}}{{{SpaA|}}}{{!}}{{!}}{{{SpaAM|}}}}}
{{#if:{{{ChiTrad|}}}|{{!}}[[File:Flag of the Republic of China.svg|20px|link=]]&nbsp;Chinese<br>(traditional){{!}}{{!}}{{{ChiTrad|}}}{{#if:{{{ChiTradR|}}}|<br>''{{{ChiTradR}}}''}}{{!}}{{!}}{{{ChiTradM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{ChiTradN|}}}}} }}
|-
|-
{{#if:{{{SpaE|}}}|{{!}}Spanish&nbsp;(NOE){{!}}{{!}}{{{SpaE|}}}{{!}}{{!}}{{{SpaEM|}}}}}
{{#if:{{{ChiSimp|}}}|{{!}}[[File:Flag of People's Republic of China.svg|20px|link=]]&nbsp;Chinese<br>(simplified){{!}}{{!}}{{{ChiSimp|}}}{{#if:{{{ChiSimpR|}}}|<br>''{{{ChiSimpR}}}''}}{{!}}{{!}}{{{ChiSimpM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{ChiSimpN|}}}}} }}
|-
|-
{{#if:{{{Fra|}}}|{{!}}French{{!}}{{!}}{{{Fra|}}}{{!}}{{!}}{{{FraM|}}}}}
{{#if:{{{Dut|}}}|{{!}}[[File:Flag of the Netherlands.svg|20px|link=]]&nbsp;Dutch{{!}}{{!}}{{{Dut|}}}{{!}}{{!}}{{{DutM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{DutN|}}}}} }}
|-
|-
{{#if:{{{FraA|}}}|{{!}}French&nbsp;(NOA){{!}}{{!}}{{{FraA|}}}{{!}}{{!}}{{{FraAM|}}}}}
{{#if:{{{Fra|}}}|{{!}}[[File:Flag of France.svg|20px|link=]]&nbsp;French{{!}}{{!}}{{{Fra|}}}{{!}}{{!}}{{{FraM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{FraN|}}}}} }}
|-
|-
{{#if:{{{FraE|}}}|{{!}}French&nbsp;(NOE){{!}}{{!}}{{{FraE|}}}{{!}}{{!}}{{{FraEM|}}}}}
{{#if:{{{FraA|}}}|{{!}}[[File:Flag of Quebec.svg|20px|link=]]&nbsp;French&nbsp;({{tt|NoA|Nintendo of America}}){{!}}{{!}}{{{FraA|}}}{{!}}{{!}}{{{FraAM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{FraAN|}}}}} }}
|-
|-
{{#if:{{{Dut|}}}|{{!}}Dutch{{!}}{{!}}{{{Dut|}}}{{!}}{{!}}{{{DutM|}}}}}
{{#if:{{{FraE|}}}|{{!}}[[File:Flag of France.svg|20px|link=]]&nbsp;French&nbsp;({{tt|NoE|Nintendo of Europe}}){{!}}{{!}}{{{FraE|}}}{{!}}{{!}}{{{FraEM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{FraEN|}}}}} }}
|-
|-
{{#if:{{{Ger|}}}|{{!}}German{{!}}{{!}}{{{Ger|}}}{{!}}{{!}}{{{GerM|}}}}}
{{#if:{{{Ger|}}}|{{!}}[[File:Flag of Germany.svg|20px|link=]]&nbsp;German{{!}}{{!}}{{{Ger|}}}{{!}}{{!}}{{{GerM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{GerN|}}}}} }}
|-
|-
{{#if:{{{Ita|}}}|{{!}}Italian{{!}}{{!}}{{{Ita|}}}{{!}}{{!}}{{{ItaM|}}}}}
{{#if:{{{Ita|}}}|{{!}}[[File:Flag of Italy.svg|20px|link=]]&nbsp;Italian{{!}}{{!}}{{{Ita|}}}{{!}}{{!}}{{{ItaM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{ItaN|}}}}} }}
|-
|-
{{#if:{{{Kor|}}}|{{!}}Korean{{!}}{{!}}{{{Kor|}}}{{#if:{{{KorR|}}}|<br/>''{{{KorR}}}''}}{{!}}{{!}}{{{KorM|}}}}}
{{#if:{{{Kor|}}}|{{!}}[[File:Flag of South Korea.svg|20px|link=]]&nbsp;Korean{{!}}{{!}}{{{Kor|}}}{{#if:{{{KorR|}}}|<br>''{{{KorR}}}''}}{{!}}{{!}}{{{KorM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{KorN|}}}}} }}
|-
|-
{{#if:{{{Chi|}}}|{{!}}Chinese{{!}}{{!}}{{{Chi|}}}{{#if:{{{ChiR|}}}|<br/>''{{{ChiR}}}''}}{{!}}{{!}}{{{ChiM|}}}}}
{{#if:{{{Por|}}}|{{!}}[[File:Flag of Brazil.svg|20px|link=]]&nbsp;Portuguese{{!}}{{!}}{{{Por|}}}{{!}}{{!}}{{{PorM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{PorN|}}}}} }}
|-
|-
{{#if:{{{Por|}}}|{{!}}Portuguese{{!}}{{!}}{{{Por|}}}{{!}}{{!}}{{{PorM|}}}}}
{{#if:{{{PorB|}}}|{{!}}[[File:Flag of Brazil.svg|20px|link=]]&nbsp;Portuguese&nbsp;({{tt|NoA|Nintendo of America}}){{!}}{{!}}{{{PorB|}}}{{!}}{{!}}{{{PorBM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{PorBN|}}}}} }}
|-
|-
{{#if:{{{Ara|}}}|{{!}}Arabic{{!}}{{!}}{{{Ara|}}}{{#if:{{{AraR|}}}|<br/>''{{{AraR}}}''}}{{!}}{{!}}{{{AraM|}}}}}
{{#if:{{{PorP|}}}|{{!}}[[File:Flag of Portugal.svg|20px|link=]]&nbsp;Portuguese&nbsp;({{tt|NoE|Nintendo of Europe}}){{!}}{{!}}{{{PorP|}}}{{!}}{{!}}{{{PorPM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{PorPN|}}}}} }}
|}<br><noinclude>
|-
This template allows putting information about the foreign names of article subjects and their respective meanings in that languages into an article. This template should follow the Trivia section of a page:
{{#if:{{{Spa|}}}|{{!}}[[File:Flag of Spain.svg|20px|link=]]&nbsp;Spanish{{!}}{{!}}{{{Spa|}}}{{!}}{{!}}{{{SpaM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{SpaN|}}}}} }}
<pre>{{Foreignname
|-
{{#if:{{{SpaA|}}}|{{!}}[[File:Flag of Mexico.svg|20px|link=]]&nbsp;Spanish&nbsp;({{tt|NoA|Nintendo of America}}){{!}}{{!}}{{{SpaA|}}}{{!}}{{!}}{{{SpaAM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{SpaAN|}}}}} }}
|-
{{#if:{{{SpaE|}}}|{{!}}[[File:Flag of Spain.svg|20px|link=]]&nbsp;Spanish&nbsp;({{tt|NoE|Nintendo of Europe}}){{!}}{{!}}{{{SpaE|}}}{{!}}{{!}}{{{SpaEM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{SpaEN|}}}}} }}
|-
{{#if:{{{Rus|}}}|{{!}}[[File:Flag of Russia.svg|20px|link=]]&nbsp;Russian{{!}}{{!}}{{{Rus|}}}{{#if:{{{RusR|}}}|<br>''{{{RusR}}}''}}{{!}}{{!}}{{{RusM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{RusN|}}}}} }}
|-
{{#if:{{{Ara|}}}|{{!}}[[File:Flag of the Arab League.svg|20px|link=]]&nbsp;Arabic{{!}}{{!}}{{{Ara|}}}{{#if:{{{AraR|}}}|<br>''{{{AraR}}}''}}{{!}}{{!}}{{{AraM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{AraN|}}}}} }}
|-
{{#if:{{{Cze|}}}|{{!}}[[File:Flag of the Czech Republic.svg|20px|link=]]&nbsp;Czech{{!}}{{!}}{{{Cze|}}}{{!}}{{!}}{{{CzeM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{CzeN|}}}}} }}
|-
{{#if:{{{Dan|}}}|{{!}}[[File:Flag of Denmark.svg|20px|link=]]&nbsp;Danish{{!}}{{!}}{{{Dan|}}}{{!}}{{!}}{{{DanM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{DanN|}}}}} }}
|-
{{#if:{{{Fin|}}}|{{!}}[[File:Flag of Finland.svg|20px|link=]]&nbsp;Finnish{{!}}{{!}}{{{Fin|}}}{{!}}{{!}}{{{FinM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{FinN|}}}}} }}
|-
{{#if:{{{Heb|}}}|{{!}}[[File:Flag of Israel.svg|20px|link=]]&nbsp;Hebrew{{!}}{{!}}{{{Heb|}}}{{#if:{{{HebR|}}}|<br>''{{{HebR}}}''}}{{!}}{{!}}{{{HebM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{HebN|}}}}} }}
|-
{{#if:{{{Hun|}}}|{{!}}[[File:Flag of Hungary.svg|20px|link=]]&nbsp;Hungarian{{!}}{{!}}{{{Hun|}}}{{!}}{{!}}{{{HunM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{HunN|}}}}} }}
|-
{{#if:{{{Nor|}}}|{{!}}[[File:Flag of Norway.svg|20px|link=]]&nbsp;Norwegian{{!}}{{!}}{{{Nor|}}}{{!}}{{!}}{{{NorM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{NorN|}}}}} }}
|-
{{#if:{{{Pol|}}}|{{!}}[[File:Flag of Poland.svg|20px|link=]]&nbsp;Polish{{!}}{{!}}{{{Pol|}}}{{!}}{{!}}{{{PolM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{PolN|}}}}} }}
|-
{{#if:{{{Slo|}}}|{{!}}[[File:Flag of Slovakia.svg|20px|link=]]&nbsp;Slovak{{!}}{{!}}{{{Slo|}}}{{!}}{{!}}{{{SloM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{SloN|}}}}} }}
|-
{{#if:{{{Swe|}}}|{{!}}[[File:Flag of Sweden.svg|20px|link=]]&nbsp;Swedish{{!}}{{!}}{{{Swe|}}}{{!}}{{!}}{{{SweM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{SweN|}}}}} }}
|}{{#if:{{{ItaI|{{{Ita|}}}}}}|[[it:{{{ItaI|{{{Ita}}}}}}]]}}<noinclude>
 
==Info==
This template allows putting information about the foreign names of article subjects and their respective meanings in those languages into an article. This template should be in a section called "Names in other languages", and it should follow the order [[Pikipedia:General content guidelines#Order for common sections|here]].
 
If the '''Ita''' or '''ItaI''' parameters are present, a link to the Italian wiki will also be automatically added.
 
==Parameters==
The language's abbreviation and M (for '''M'''eaning) are parameters for this template. For languages written in another writing system, an additional abbreviation + R ('''R'''omanized) can be used. If you wish to include notes about a language, you can add the language and an N (for '''N'''otes), but you also must give a value to the "notes" parameter. The following languages are currently supported:
*'''Jap''' (JapR, JapM, JapN) - Japanese
*'''Chi''' (ChiR, ChiM, ChiN) - Chinese
*'''ChiTrad''' (ChiTradR, ChiSimpM, ChiTradN) - traditional Chinese
*'''ChiSimp''' (ChiSimpR, ChiSimpM, ChiSimpM) - simplified Chinese
*'''Dut''' (DutM, DutN) - Dutch
*'''Fra''' (FraM, FraN) - French
*'''FraA''' (FraAM, FraAN) - NOA French
*'''FraE''' (FraEM, FraEN) - NOE French
*'''Ger''' (GerM, GerN) - German
*'''Ita''' (ItaM, ItaN) - Italian
*'''Kor''' (KorR, KorM, KorN) - Korean
*'''Por''' (PorM, PorN) - Portuguese
*'''PorB''' (PorBM, PorBN) - Portuguese from Brazil
*'''PorP''' (PorPM, PorPN) - Portuguese from Portugal
*'''Spa''' (SpaM, SpaN) - Spanish
*'''SpaA''' (SpaAM, SpaAN) - NOA Spanish
*'''SpaE''' (SpaEM, SpaEN) - NOE Spanish
*'''Rus''' (RusR, RusM, RusN) - Russian
*'''Ara''' (AraR, AraM, AraN) - Arabic
*'''Cze''' (CzeM, CzeN) - Czech
*'''Dan''' (DanM, DanN) - Danish
*'''Fin''' (FinM, FinN) - Finnish
*'''Heb''' (HebR, HebM, HebN) - Hebrew
*'''Hun''' (HunM, HunN) - Hungarian
*'''Nor''' (NorM, NorN) - Norwegian
*'''Pol''' (PolM, PolM) - Polish
*'''Slo''' (SloM, SloN) - Slovak
*'''Swe''' (SweM, SweN) - Swedish
 
The parameter '''ItaI''' can be used to specify the link to the Italian wiki's page, and if it is not present, the contents of '''Ita''' will be used instead.
 
==Skeleton==
<pre>
{{foreignname
|Jap=<Japanese>|JapR=<romanized>|JapM=<meaning>|JapN=<notes>
|Chi=|ChiR=|ChiM=|ChiN=
|ChiTrad=|ChiTradR=|ChiTradM=|ChiTradN=
|ChiSimp=|ChiSimpR=|ChiSimpM=|ChiSimpN=
|Dut=|DutM=|DutN=
|Fra=|FraM=|FraN=
|FraA=|FraAM=|FraAN=
|FraE=|FraEM=|FraEN=
|Ger=|GerM=|GerN=
|Ita=|ItaM=|ItaN=
|Kor=|KorR=|KorM=|KorN=
|Por=|PorM=|PorN=
|PorB=|PorBM=|PorBN=
|PorP=|PorPM=|PorPN=
|Spa=|SpaM=|SpaN=
|SpaA=|SpaAM=|SpaAN=
|SpaE=|SpaEM=|SpaEN=
|Rus=|RusR=|RusM=|RusN=
|Ara=|AraR=|AraM=|AraN=
|Cze=|CzeM=|CzeN=
|Dan=|DanM=|DanN=
|Fin=|FinM=|FinN=
|Heb=|HebR=|HebM=|HebN=
|Hun=|HunM=|HunN=
|Nor=|NorM=|NorN=
|Pol=|PolM=|PolN=
|Slo=|SloM=|SloN=
|Swe=|SweM=|SweN=
|notes=<y>
|ItaI=<interwiki link>
}}
</pre>
 
==Examples==
{| class = "wikitable"
! Code || Result
|-
| <pre>{{foreignname
|Jap=クリボー
|JapR=Kuribo
|JapM=Chestnut people
}}</pre>
| {{foreignname
|Jap=クリボー
|Jap=クリボー
|JapR=Kuribō
|JapR=Kuribo
|JapM=chestnut people
|JapM=Chestnut people
}}
|-
| <pre>{{foreignname
|PorP=Apito
|PorPM=Whistle
|PorPN=Translation taken from the instruction manual
|notes=y
}}</pre>
}}</pre>
The language's abbreviation and M (for '''M'''eaning) are parameters for this template. For Japanese, Korean, and Chinese, an additional abbreviation + R ('''R'''omanized) can be used. The following languages are currently supported:
| {{foreignname
*'''Jap''' (JapM / JapR) - Japanese
|PorP=Apito
*'''Spa''' (SpaM) - Spanish
|PorPM=Whistle
*'''SpaA''' (SpaAM) - NOA Spanish
|PorPN=Translation taken from the instruction manual
*'''SpaE''' (SpaEM) - NOE Spanish
|notes=y
*'''Fra''' (FraM) - French
}}
*'''FraA''' (FraAM) - NOA French
|}
*'''FraE''' (FraEM) - NOE French
 
*'''Ger''' (GerM) - German
[[Category:Information tables]]</noinclude>
*'''Ita''' (ItaM) - Italian
*'''Kor''' (KorM / KorR) - Korean
*'''Chi''' (ChiM / ChiR) - Chinese
*'''Dut''' (DutM) - Dutch
*'''Por''' (PorM) - Portuguese
*'''Ara''' (AraM) - Arabic
[[Category:Infobox Templates]]
</noinclude>