Template:Foreignname: Difference between revisions
(Added automatic Italian interwiki linking.) |
mNo edit summary |
||
Line 62: | Line 62: | ||
{{#if:{{{Swe|}}}|{{!}}[[File:Flag of Sweden.svg|20px|link=]] Swedish{{!}}{{!}}{{{Swe|}}}{{!}}{{!}}{{{SweM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{SweN|}}}}} }} | {{#if:{{{Swe|}}}|{{!}}[[File:Flag of Sweden.svg|20px|link=]] Swedish{{!}}{{!}}{{{Swe|}}}{{!}}{{!}}{{{SweM|}}}{{#if:{{{notes|}}}|{{!}}{{!}}{{{SweN|}}}}} }} | ||
|} | |} | ||
{{#if:{{{Ita|}}}{{{ItaI|}}} | [[it:{{{ItaI|{{{Ita}}}}}}]] | {{#if:{{{Ita|}}}{{{ItaI|}}} | [[it:{{{ItaI|{{{Ita}}}}}}]]}} | ||
<noinclude> | <noinclude> | ||
Revision as of 04:12, July 13, 2023
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.
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 Meaning) are parameters for this template. For languages written in another writing system, 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 (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
- Spa (SpaM, SpaN) - Spanish
- SpaA (SpaAM, SpaAN) - NOA Spanish
- SpaE (SpaEM, SpaEN) - NOE Spanish
- Por (PorM, PorN) - Portuguese
- PorB (PorBM, PorBN) - Portuguese from Brazil
- PorP (PorPM, PorPN) - Portuguese from Portugal
- 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
{{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= |Spa=|SpaM=|SpaN= |SpaA=|SpaAM=|SpaAN= |SpaE=|SpaEM=|SpaEN= |Kor=|KorR=|KorM=|KorN= |Por=|PorM=|PorN= |PorB=|PorBM=|PorBN= |PorP=|PorPM=|PorPN= |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> }}
Examples
Code | Result | ||||||||
---|---|---|---|---|---|---|---|---|---|
{{foreignname |Jap=クリボー |JapR=Kuribo |JapM=Chestnut people }} |
| ||||||||
{{foreignname |PorP=Apito |PorPM=Whistle |PorPN=Translation taken from the instruction manual |notes=y }} |
|