User:Raltseye/Template:Header: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
m (trad, simp chi)
Line 1: Line 1:
{| class="wikitable {{#if:{{{sortable|}}}|sortable}}"
{| class="wikitable {{#if:{{{sortable|}}}|sortable}}"
|-
|-
! {{#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:{{{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:{{{Rus2|}}}|{{!}}{{!}} Russian [[File:Flag of Russia.svg|20px|link=|Russian]] }}{{#if:{{{Cze|}}}|{{!}}{{!}} Czech [[File:Flag of the Czech Republic.svg|20px|link=|Czech]] }}{{#if:{{{Hun|}}}|{{!}}{{!}} Hungarian [[File:Flag of Hungary.svg|20px|link=|Hungarian]] }}{{#if:{{{Pol|}}}|{{!}}{{!}} Polish [[File:Flag of Poland.svg|20px|link=|Polish]] }}{{#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|}}} }}
! {{#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 (traditional) [[File:Flag of People's Republic of China.svg|20px|link=|Chinese]] }} {{#if:{{{ChiSimp|}}}|{{!}}{{!}} Chinese (simplified) [[File:Flag of People's Republic of China.svg|20px|link=|Chinese]] }} {{#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:{{{Rus2|}}}|{{!}}{{!}} Russian [[File:Flag of Russia.svg|20px|link=|Russian]] }}{{#if:{{{Cze|}}}|{{!}}{{!}} Czech [[File:Flag of the Czech Republic.svg|20px|link=|Czech]] }}{{#if:{{{Hun|}}}|{{!}}{{!}} Hungarian [[File:Flag of Hungary.svg|20px|link=|Hungarian]] }}{{#if:{{{Pol|}}}|{{!}}{{!}} Polish [[File:Flag of Poland.svg|20px|link=|Polish]] }}{{#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>


Line 14: Line 14:
*'''Jap''' - Japanese
*'''Jap''' - Japanese
*'''Chi''' - Chinese
*'''Chi''' - Chinese
**'''ChiTrad''' - Chinese (traditional)
**'''ChiSimp''' - Chinese (simplified)
*'''Dut''' - Dutch
*'''Dut''' - Dutch
*'''Fra''' - French
*'''Fra''' - French

Revision as of 08:26, October 15, 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
  • 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
|}
Japanese Japanese English Dutch Dutch French French German German Italian Italian Spanish Latin America Spanish Spain
ひろば Pikmin Park Pikmin-park parc Pikmin Pikmin-Park Parco Pikmin Parque pikmin Parque Pikmin