User:Raltseye/Template:Header: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(23 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable {{#if:{{{sortable|}}}|sortable}}"
{| class="wikitable {{#if:{{{sortable|}}}|sortable}}"
|-
|-
! {{#if:{{{Jap|}}}|[[File:Flag of Japan.svg|20px]] Japanese {{!}}{{!}} }} English {{#if:{{{Dut|}}}|{{!}}{{!}} [[File:Flag of the Netherlands.svg|20px]] Dutch }} {{#if:{{{Fra|}}}|{{!}}{{!}} [[File:Flag of France.svg|20px]] French }} {{#if:{{{FraA|}}}|{{!}}{{!}} [[File:Flag of Quebec.svg|20px]] French ({{tt|NoA|Nintendo of America}}) }} {{#if:{{{FraE|}}}|{{!}}{{!}} [[File:Flag of France.svg|20px]] French ({{tt|NoE|Nintendo of Europe}}) }} {{#if:{{{Ger|}}}|{{!}}{{!}} [[File:Flag of Germany.svg|20px]] German }} {{#if:{{{Ita|}}}|{{!}}{{!}} [[File:Flag of Italy.svg|20px]] Italian }} {{#if:{{{Kor|}}}|{{!}}{{!}} [[File:Flag of South Korea.svg|20px]] Korean }} {{#if:{{{Spa|}}}|{{!}}{{!}} [[File:Flag of Spain.svg|20px]] Spanish }} {{#if:{{{SpaA|}}}|{{!}}{{!}} [[File:Flag of Mexico.svg|20px]] Spanish ({{tt|NoA|Nintendo of America}}) }} {{#if:{{{SpaE|}}}|{{!}}{{!}} [[File:Flag of Spain.svg|20px]] Spanish ({{tt|NoE|Nintendo of Europe}}) }}
! {{#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>
 
<!--
==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==
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<!--
*'''Ara''' - Arabic-->
*'''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==
<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|Cze=y|Hun=y|Pol=y|Dan=y|Fin=y|Nor=y|Swe=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>

Latest revision as of 13: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
|}
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