Template:Foreignname: Difference between revisions
Jump to navigation
Jump to search
m (What was the break for?) |
(New documentation style.) |
||
Line 39: | Line 39: | ||
|}<noinclude> | |}<noinclude> | ||
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 | ==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:Policy#Order for common sections|here]]. | |||
==Parameters== | |||
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. 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: | 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. 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''' (JapM, JapR, JapN) - Japanese | *'''Jap''' (JapM, JapR, JapN) - Japanese | ||
Line 59: | Line 61: | ||
*'''Ara''' (AraM, AraN) - Arabic | *'''Ara''' (AraM, AraN) - Arabic | ||
==Template== | |||
<pre>{{ | <pre> | ||
|Jap= | {{foreignname | ||
|Jap=<Japanese>|JapR=<romanized>|JapM=<meaning>|JapN=<notes> | |||
|Spa=|SpaM=|SpaN= | |||
|SpaA=|SpaAM=|SpaAN= | |||
|SpaE=|SpaEM=|SpaEN= | |||
|Fra=|FraM=|FraN= | |||
|FraA=|FraAM=|FraAN= | |||
|FraE=|FraEM=|FraEN= | |||
|Ger=|GerM=|GerN= | |||
|Ita=|ItaM=|ItaN= | |||
|Kor=|KorR=|KorM=|KorN= | |||
|Chi=|ChiR=|ChiM=|ChiN= | |||
|Dut=|DutM=|DutN= | |||
|Por=|PorM=|PorN= | |||
|PorP=|PorPM=|PorPN= | |||
|PorB=|PorBM=|PorBN= | |||
|Ara=|AraM=|AraN= | |||
|notes=<y> | |||
}} | |||
</pre> | |||
==Examples== | |||
{| class = "wikitable" | |||
! Code || Result | |||
|- | |||
| <pre>{{foreignname | |||
|Jap=クリボー | |||
|JapR=Kuribo | |JapR=Kuribo | ||
|JapM= | |JapM=Chestnut people | ||
}}</pre> | }}</pre> | ||
| {{foreignname | |||
<pre>{{ | |Jap=クリボー | ||
|JapR=Kuribo | |||
|JapM=Chestnut people | |||
}} | |||
|- | |||
| <pre>{{foreignname | |||
|PorP=Apito | |PorP=Apito | ||
|PorPM=Whistle | |PorPM=Whistle | ||
Line 72: | Line 105: | ||
|notes=y | |notes=y | ||
}}</pre> | }}</pre> | ||
| {{foreignname | |||
|PorP=Apito | |||
|PorPM=Whistle | |||
|PorPN=Translation taken from the instruction manual | |||
|notes=y | |||
}} | |||
|} | |||
[[Category:Infobox templates]] | [[Category:Infobox templates]] | ||
</noinclude> | </noinclude> |
Revision as of 09:45, October 16, 2014
Language | Name | Meaning |
---|
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 here.
Parameters
The language's abbreviation and M (for Meaning) are parameters for this template. For Japanese, Korean, and Chinese, an additional abbreviation + R (Romanized) can be used. If you wish to include notes about a language, you can add the language and an N (for Notes), but you also must give a value to the "notes" parameter. The following languages are currently supported:
- Jap (JapM, JapR, JapN) - Japanese
- Spa (SpaM, SpaN) - Spanish
- SpaA (SpaAM, SpaAN) - NOA Spanish
- SpaE (SpaEM, SpaEN) - NOE Spanish
- Fra (FraM, FraN) - French
- FraA (FraAM, FraAN) - NOA French
- FraE (FraEM, FraEN) - NOE French
- Ger (GerM, GerN) - German
- Ita (ItaM, ItaN) - Italian
- Kor (KorM, KorR, KorN) - Korean
- Chi (ChiM, ChiR, ChiN) - Chinese
- Dut (DutM, DutN) - Dutch
- Por (PorM, PorN) - Portuguese
- PorP (PorPM, PorPN) - Portuguese from Portugal
- PorB (PorBM, PorBN) - Portuguese from Brazil
- Ara (AraM, AraN) - Arabic
Template
{{foreignname |Jap=<Japanese>|JapR=<romanized>|JapM=<meaning>|JapN=<notes> |Spa=|SpaM=|SpaN= |SpaA=|SpaAM=|SpaAN= |SpaE=|SpaEM=|SpaEN= |Fra=|FraM=|FraN= |FraA=|FraAM=|FraAN= |FraE=|FraEM=|FraEN= |Ger=|GerM=|GerN= |Ita=|ItaM=|ItaN= |Kor=|KorR=|KorM=|KorN= |Chi=|ChiR=|ChiM=|ChiN= |Dut=|DutM=|DutN= |Por=|PorM=|PorN= |PorP=|PorPM=|PorPN= |PorB=|PorBM=|PorBN= |Ara=|AraM=|AraN= |notes=<y> }}
Examples
Code | Result | ||||||||
---|---|---|---|---|---|---|---|---|---|
{{foreignname |Jap=クリボー |JapR=Kuribo |JapM=Chestnut people }} |
| ||||||||
{{foreignname |PorP=Apito |PorPM=Whistle |PorPN=Translation taken from the instruction manual |notes=y }} |
|