User:Raltseye/Template:Header: Difference between revisions
Jump to navigation
Jump to search
m (removed English flag, tweeked doc and added possibility to seperate American and European English) |
mNo edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
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=]] | ! {{#if:{{{intro|}}}|{{{intro}}} {{!}}{{!}} }}{{#if:{{{Jap|}}}|Japanese [[File:Flag of Japan.svg|20px|link=|Japanese]] {{!}}{{!}} }} English {{#if:{{{eu|}}}|({{tt|NoA|Nintendo of America}}) {{!}}{{!}} English ({{tt|NoE|Nintendo of Europe}}) }} {{#if:{{{Chi|}}}|{{!}}{{!}} Chinese [[File:Flag of People's Republic of China.svg|20px|link=|Chinese]] }} {{#if:{{{ChiTrad|}}}|{{!}}{{!}} Chinese [[File:Flag of People's Republic of China.svg|20px|link=|Chinese]]<br>(traditional) }} {{#if:{{{ChiSimp|}}}|{{!}}{{!}} Chinese [[File:Flag of People's Republic of China.svg|20px|link=|Chinese]]<br>(simplified) }} {{#if:{{{Dut|}}}|{{!}}{{!}} Dutch [[File:Flag of the Netherlands.svg|20px|link=|Dutch]] }} {{#if:{{{Fra|}}}|{{!}}{{!}} French [[File:Flag of France.svg|20px|link=|French]] }} {{#if:{{{FraA|}}}|{{!}}{{!}} French [[File:Flag of Quebec.svg|20px|link=|Québec]] }} {{#if:{{{FraE|}}}|{{!}}{{!}} French [[File:Flag of France.svg|20px|link=|France]] }} {{#if:{{{Ger|}}}|{{!}}{{!}} German [[File:Flag of Germany.svg|20px|link=|German]] }} {{#if:{{{Ita|}}}|{{!}}{{!}} Italian [[File:Flag of Italy.svg|20px|link=|Italian]] }} {{#if:{{{Kor|}}}|{{!}}{{!}} Korean [[File:Flag of South Korea.svg|20px|link=|Korean]] }} {{#if:{{{Por|}}}|{{!}}{{!}} Portuguese [[File:Flag of Portugal.svg|20px|link=|Portuguese]] }}{{#if:{{{PorB|}}}|{{!}}{{!}} Portuguese [[File:Flag of Brazil.svg|20px|link=|Brazil]] }}{{#if:{{{PorP|}}}|{{!}}{{!}} Portuguese [[File:Flag of Portugal.svg|20px|link=|Portugal]] }}{{#if:{{{Rus|}}}|{{!}}{{!}} Russian [[File:Flag of Russia.svg|20px|link=|Russian]] }}{{#if:{{{Spa|}}}|{{!}}{{!}} Spanish [[File:Flag of Spain.svg|20px|link=|Spanish]] }} {{#if:{{{SpaA|}}}|{{!}}{{!}} Spanish [[File:Flag of Mexico.svg|20px|link=|Latin America]] }} {{#if:{{{SpaE|}}}|{{!}}{{!}} Spanish [[File:Flag of Spain.svg|20px|link=|Spain]] }}{{#if:{{{Chi2|}}}|{{!}}{{!}} Chinese [[File:Flag of People's Republic of China.svg|20px|link=|China]] }}{{#if:{{{Dut2|}}}|{{!}}{{!}} Dutch [[File:Flag of the Netherlands.svg|20px|link=|Dutch]] }}{{#if:{{{Kor2|}}}|{{!}}{{!}} Korean [[File:Flag of South Korea.svg|20px|link=|Korean]] }}{{#if:{{{Por2|}}}|{{!}}{{!}} Portuguese [[File:Flag of Portugal.svg|20px|link=|Portuguese]] }}{{#if:{{{PorB2|}}}|{{!}}{{!}} Portuguese [[File:Flag of Brazil.svg|20px|link=|Brazil]] }}{{#if:{{{PorP2|}}}|{{!}}{{!}} Portuguese [[File:Flag of Portugal.svg|20px|link=|Portuguese]] }}{{#if:{{{Rus2|}}}|{{!}}{{!}} Russian [[File:Flag of Russia.svg|20px|link=|Russian]] }}{{#if:{{{Cze|}}}|{{!}}{{!}} Czech [[File:Flag of the Czech Republic.svg|20px|link=|Czech]] }}{{#if:{{{Heb|}}}|{{!}}{{!}} Hebrew [[File:Flag of Israel.svg|20px|link=|Hebrew]] }}{{#if:{{{Hun|}}}|{{!}}{{!}} Hungarian [[File:Flag of Hungary.svg|20px|link=|Hungarian]] }}{{#if:{{{Pol|}}}|{{!}}{{!}} Polish [[File:Flag of Poland.svg|20px|link=|Polish]] }}{{#if:{{{Slo|}}}|{{!}}{{!}} Slovak [[File:Flag of Slovakia.svg|20px|link=|Slovak]] }}{{#if:{{{outro|}}}|{{!}}{{!}} {{{outro|}}} }}{{#if:{{{Dan|}}}|{{!}}{{!}} Danish [[File:Flag of Denmark.svg|20px|link=|Danish]] }}{{#if:{{{Fin|}}}|{{!}}{{!}} Finnish [[File:Flag of Finland.svg|20px|link=|Finnish]] }}{{#if:{{{Nor|}}}|{{!}}{{!}} Norwegian [[File:Flag of Norway.svg|20px|link=|Norwegian]] }}{{#if:{{{Swe|}}}|{{!}}{{!}} Swedish [[File:Flag of Sweden.svg|20px|link=|Swedish]] }}{{#if:{{{outro|}}}|{{!}}{{!}} {{{outro|}}} }} | ||
|-<noinclude> | |-<noinclude> | ||
<!-- | <!-- | ||
==Info== | ==Info== | ||
Line 12: | Line 13: | ||
The language's abbreviation are parameters for this template. The following languages are currently supported: | The language's abbreviation are parameters for this template. The following languages are currently supported: | ||
*'''Jap''' - Japanese | *'''Jap''' - Japanese | ||
*'''Chi''' - Chinese | |||
**'''ChiTrad''' - Chinese (traditional) | |||
**'''ChiSimp''' - Chinese (simplified) | |||
*'''Dut''' - Dutch | *'''Dut''' - Dutch | ||
*'''Fra''' - French | *'''Fra''' - French | ||
Line 19: | Line 23: | ||
*'''Ita''' - Italian | *'''Ita''' - Italian | ||
*'''Kor''' - Korean | *'''Kor''' - Korean | ||
*'''Por''' - Portuguese | *'''Por''' - Portuguese | ||
*'''PorB''' - Portuguese from Brazil | *'''PorB''' - Portuguese from Brazil | ||
*'''PorP''' - Portuguese from Portugal | *'''PorP''' - Portuguese from Portugal | ||
*'''Rus''' - Russian | *'''Rus''' - Russian | ||
*'''Ara''' - Arabic | *'''Spa''' - Spanish | ||
*'''SpaA''' - NOA Spanish | |||
*'''SpaE''' - NOE Spanish | |||
*'''Chi2''' - Chinese | |||
*'''Kor2''' - Korean | |||
*'''Por2''' - Portuguese | |||
*'''PorP2''' Portuguese from Brazil | |||
*'''PorP2''' Portuguese from Portugal | |||
*'''Rus2''' - Russian<!-- | |||
*'''Ara''' - Arabic--> | |||
*'''Cze''' - Czech | *'''Cze''' - Czech | ||
*'''Hun''' - Hungarian | |||
*'''Pol''' - Polish | |||
*'''Dan''' - Danish | *'''Dan''' - Danish | ||
*'''Fin''' - Finnish | *'''Fin''' - Finnish | ||
*'''Nor''' - Norwegian | *'''Nor''' - Norwegian | ||
*'''Swe''' - Swedish | |||
*'''Swe''' - Swedish | |||
The template also supports: | The template also supports: | ||
Line 42: | Line 51: | ||
==Skeleton== | ==Skeleton== | ||
<pre> | <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}} | {{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|Cze=y|Hun=y|Pol=y|Dan=y|Fin=y|Nor=y|Swe=y}} | ||
|} | |} | ||
</pre> | </pre> |
Latest revision as of 12:12, December 13, 2020
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
- Chi - Chinese
- ChiTrad - Chinese (traditional)
- ChiSimp - Chinese (simplified)
- Dut - Dutch
- Fra - French
- FraA - NOA French
- FraE - NOE French
- Ger - German
- Ita - Italian
- Kor - Korean
- Por - Portuguese
- PorB - Portuguese from Brazil
- PorP - Portuguese from Portugal
- Rus - Russian
- Spa - Spanish
- SpaA - NOA Spanish
- SpaE - NOE Spanish
- Chi2 - Chinese
- Kor2 - Korean
- Por2 - Portuguese
- PorP2 Portuguese from Brazil
- PorP2 Portuguese from Portugal
- Rus2 - Russian
- Cze - Czech
- Hun - Hungarian
- Pol - Polish
- Dan - Danish
- Fin - Finnish
- Nor - Norwegian
- 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
{{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|Cze=y|Hun=y|Pol=y|Dan=y|Fin=y|Nor=y|Swe=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 |} |
|