User:Raltseye/Template:Header: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (removed English flag, tweeked doc and added possibility to seperate American and European English) |
||
Line 1: | Line 1: | ||
{| class="wikitable {{#if:{{{sortable|}}}|sortable}}" | {| class="wikitable {{#if:{{{sortable|}}}|sortable}}" | ||
|- | |- | ||
! {{#if:{{{intro|}}}|{{{intro}}} {{!}}{{!}} }}{{#if:{{{Jap|}}}|[[File:Flag of Japan.svg|20px|link=]] Japanese {{!}}{{!}} }} | ! {{#if:{{{intro|}}}|{{{intro}}} {{!}}{{!}} }}{{#if:{{{Jap|}}}|[[File:Flag of Japan.svg|20px|link=]] Japanese {{!}}{{!}} }} English {{#if:{{{eu|}}}|({{tt|NoA|Nintendo of America}}) {{!}}{{!}} English ({{tt|NoE|Nintendo of Europe}}) }} {{#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> | |-<noinclude> | ||
<!-- | |||
==Info== | ==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]]. | 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== | |||
Filling any of the parameters used within this tempalte makes that section or function appear or work. | |||
The language's abbreviation are parameters for this template. The following languages are currently supported: | |||
The language's abbreviation | |||
*'''Jap''' - Japanese | *'''Jap''' - Japanese | ||
*'''Dut''' - Dutch | *'''Dut''' - Dutch | ||
Line 20: | Line 22: | ||
*'''SpaA''' - NOA Spanish | *'''SpaA''' - NOA Spanish | ||
*'''SpaE''' - NOE Spanish<!-- | *'''SpaE''' - NOE Spanish<!-- | ||
*'''Chi''' | *'''Chi''' - Chinese | ||
*'''Por''' | *'''Por''' - Portuguese | ||
*'''PorB''' | *'''PorB''' - Portuguese from Brazil | ||
*'''PorP''' | *'''PorP''' - Portuguese from Portugal | ||
*'''Rus''' | *'''Rus''' - Russian | ||
*'''Ara''' | *'''Ara''' - Arabic | ||
*'''Cze''' | *'''Cze''' - Czech | ||
*'''Dan''' | *'''Dan''' - Danish | ||
*'''Fin''' | *'''Fin''' - Finnish | ||
*'''Hun''' | *'''Hun''' - Hungarian | ||
*'''Nor''' | *'''Nor''' - Norwegian | ||
*'''Pol''' | *'''Pol''' - Polish | ||
*'''Swe''' | *'''Swe''' - Swedish--> | ||
The template also supports: | |||
*'''intro''' - adds one or more entries at the beginning of the table. Note: to add several entries !! must be used to seperate them | |||
*'''sortable''' - makes the table sortable | |||
==Skeleton== | ==Skeleton== | ||
Line 51: | Line 57: | ||
| ひろば || Pikmin Park || Pikmin-park || parc Pikmin || Pikmin-Park || Parco Pikmin || Parque pikmin || Parque Pikmin | | ひろば || Pikmin Park || Pikmin-park || parc Pikmin || Pikmin-Park || Parco Pikmin || Parque pikmin || Parque Pikmin | ||
|} | |} | ||
|} | |}<!-- | ||
[[Category:Information tables]]--> | |||
[[Category:Information tables]] | |||
</noinclude> | </noinclude> |
Revision as of 08:05, October 19, 2018
Parameters
Filling any of the parameters used within this tempalte makes that section or function appear or work.
The language's abbreviation are parameters for this template. 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
The template also supports:
- intro - adds one or more entries at the beginning of the table. Note: to add several entries !! must be used to seperate them
- sortable - makes the table sortable
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 |} |
|