User:Raltseye/Template:Header: Difference between revisions
mNo edit summary |
|||
Line 2: | Line 2: | ||
|- | |- | ||
! {{#if:{{{intro|}}}|{{{intro}}} {{!}}{{!}} }}{{#if:{{{Jap|}}}|[[File:Flag of Japan.svg|20px|link=]] Japanese {{!}}{{!}} }} [[File:Flag of England.svg|20px|link=]] English {{#if:{{{Dut|}}}|{{!}}{{!}} [[File:Flag of the Netherlands.svg|20px|link=]] Dutch }} {{#if:{{{Fra|}}}|{{!}}{{!}} [[File:Flag of France.svg|20px|link=]] French }} {{#if:{{{FraA|}}}|{{!}}{{!}} [[File:Flag of Quebec.svg|20px|link=]] French ({{tt|NoA|Nintendo of America}}) }} {{#if:{{{FraE|}}}|{{!}}{{!}} [[File:Flag of France.svg|20px|link=]] French ({{tt|NoE|Nintendo of Europe}}) }} {{#if:{{{Ger|}}}|{{!}}{{!}} [[File:Flag of Germany.svg|20px|link=]] German }} {{#if:{{{Ita|}}}|{{!}}{{!}} [[File:Flag of Italy.svg|20px|link=]] Italian }} {{#if:{{{Kor|}}}|{{!}}{{!}} [[File:Flag of South Korea.svg|20px|link=]] Korean }} {{#if:{{{Spa|}}}|{{!}}{{!}} [[File:Flag of Spain.svg|20px|link=]] Spanish }} {{#if:{{{SpaA|}}}|{{!}}{{!}} [[File:Flag of Mexico.svg|20px|link=]] Spanish ({{tt|NoA|Nintendo of America}}) }} {{#if:{{{SpaE|}}}|{{!}}{{!}} [[File:Flag of Spain.svg|20px|link=]] Spanish ({{tt|NoE|Nintendo of Europe}}) }} | ! {{#if:{{{intro|}}}|{{{intro}}} {{!}}{{!}} }}{{#if:{{{Jap|}}}|[[File:Flag of Japan.svg|20px|link=]] Japanese {{!}}{{!}} }} [[File:Flag of England.svg|20px|link=]] English {{#if:{{{Dut|}}}|{{!}}{{!}} [[File:Flag of the Netherlands.svg|20px|link=]] Dutch }} {{#if:{{{Fra|}}}|{{!}}{{!}} [[File:Flag of France.svg|20px|link=]] French }} {{#if:{{{FraA|}}}|{{!}}{{!}} [[File:Flag of Quebec.svg|20px|link=]] French ({{tt|NoA|Nintendo of America}}) }} {{#if:{{{FraE|}}}|{{!}}{{!}} [[File:Flag of France.svg|20px|link=]] French ({{tt|NoE|Nintendo of Europe}}) }} {{#if:{{{Ger|}}}|{{!}}{{!}} [[File:Flag of Germany.svg|20px|link=]] German }} {{#if:{{{Ita|}}}|{{!}}{{!}} [[File:Flag of Italy.svg|20px|link=]] Italian }} {{#if:{{{Kor|}}}|{{!}}{{!}} [[File:Flag of South Korea.svg|20px|link=]] Korean }} {{#if:{{{Spa|}}}|{{!}}{{!}} [[File:Flag of Spain.svg|20px|link=]] Spanish }} {{#if:{{{SpaA|}}}|{{!}}{{!}} [[File:Flag of Mexico.svg|20px|link=]] Spanish ({{tt|NoA|Nintendo of America}}) }} {{#if:{{{SpaE|}}}|{{!}}{{!}} [[File:Flag of Spain.svg|20px|link=]] Spanish ({{tt|NoE|Nintendo of Europe}}) }} | ||
|-<noinclude> | |||
==Info== | |||
This template allows putting information about the foreign names of article subjects in those languages into an article in the form of a table that expands dowards and has the languages on the top. Ideal for when there are several names on the same article or if the article is a list. If there's only a single name for a subject and is only used once, [[Template:Foreignname]] should be used instead. It should follow the order [[Pikipedia:General content guidelines#Order for common sections|here]]. | |||
==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''' - Japanese | |||
*'''Dut''' - Dutch | |||
*'''Fra''' - French | |||
*'''FraA''' - NOA French | |||
*'''FraE''' - NOE French | |||
*'''Ger''' - German | |||
*'''Ita''' - Italian | |||
*'''Kor''' - Korean | |||
*'''Spa''' - Spanish | |||
*'''SpaA''' - NOA Spanish | |||
*'''SpaE''' - NOE Spanish<!-- | |||
*'''Chi''' (ChiR, ChiM, ChiN) - Chinese | |||
*'''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 | |||
*'''Hun''' (HunM, HunN) - Hungarian | |||
*'''Nor''' (NorM, NorN) - Norwegian | |||
*'''Pol''' (PolM, PolM) - Polish | |||
*'''Swe''' (SweM, SweN) - Swedish--> | |||
==Skeleton== | |||
<pre> | |||
{{User:Raltseye/Template:Header|Jap=y|Dut=y|Fra=y|FraA=y|FraE=y|Ger=y|Ita=y|Kor=y|Spa=y|SpaA=y|SpaE=y}} | |||
|} | |||
</pre> | |||
==Examples== | |||
{| class = "wikitable" | |||
! Code || Result | |||
|- | |- | ||
| <pre>{{User:Raltseye/Template:Header|Jap=y|Dut=y|Fra=y|Ger=y|Ita=y|SpaA=y|SpaE=}} | |||
| ひろば || Pikmin Park || Pikmin-park || parc Pikmin || Pikmin-Park || Parco Pikmin || Parque pikmin || Parque Pikmin | |||
|} | |||
</pre> | |||
| {{User:Raltseye/Template:Header|Jap=y|Dut=y|Fra=y|Ger=y|Ita=y|SpaA=y|SpaE=y}} | |||
| ひろば || Pikmin Park || Pikmin-park || parc Pikmin || Pikmin-Park || Parco Pikmin || Parque pikmin || Parque Pikmin | |||
|} | |||
|} | |||
[[Category:Information tables]] | |||
</noinclude> |
Revision as of 07:46, October 19, 2018
Info
This template allows putting information about the foreign names of article subjects in those languages into an article in the form of a table that expands dowards and has the languages on the top. Ideal for when there are several names on the same article or if the article is a list. If there's only a single name for a subject and is only used once, Template:Foreignname should be used instead. It should follow the order here.
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 - Japanese
- Dut - Dutch
- Fra - French
- FraA - NOA French
- FraE - NOE French
- Ger - German
- Ita - Italian
- Kor - Korean
- Spa - Spanish
- SpaA - NOA Spanish
- SpaE - NOE Spanish
Skeleton
{{User:Raltseye/Template:Header|Jap=y|Dut=y|Fra=y|FraA=y|FraE=y|Ger=y|Ita=y|Kor=y|Spa=y|SpaA=y|SpaE=y}} |}
Examples
English |
---|
Code | Result | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{User:Raltseye/Template:Header|Jap=y|Dut=y|Fra=y|Ger=y|Ita=y|SpaA=y|SpaE=}} | ひろば || Pikmin Park || Pikmin-park || parc Pikmin || Pikmin-Park || Parco Pikmin || Parque pikmin || Parque Pikmin |} |
|