User:Raltseye/Template:Header: Difference between revisions

From Pikipedia, the Pikmin wiki
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 {{!}}{{!}} }} [[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 {{!}}{{!}} }} 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.


==Parameters==
The language's abbreviation are parameters for this template. The following languages are currently supported:
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
*'''Jap''' - Japanese
*'''Dut''' - Dutch
*'''Dut''' - Dutch
Line 20: Line 22:
*'''SpaA''' - NOA Spanish
*'''SpaA''' - NOA Spanish
*'''SpaE''' - NOE Spanish<!--
*'''SpaE''' - NOE Spanish<!--
*'''Chi''' (ChiR, ChiM, ChiN) - Chinese
*'''Chi''' - Chinese
*'''Por''' (PorM, PorN) - Portuguese
*'''Por''' - Portuguese
*'''PorB''' (PorBM, PorBN) - Portuguese from Brazil
*'''PorB''' - Portuguese from Brazil
*'''PorP''' (PorPM, PorPN) - Portuguese from Portugal
*'''PorP''' - Portuguese from Portugal
*'''Rus''' (RusR, RusM, RusN) - Russian
*'''Rus''' - Russian
*'''Ara''' (AraR, AraM, AraN) - Arabic
*'''Ara''' - Arabic
*'''Cze''' (CzeM, CzeN) - Czech
*'''Cze''' - Czech
*'''Dan''' (DanM, DanN) - Danish
*'''Dan''' - Danish
*'''Fin''' (FinM, FinN) - Finnish
*'''Fin''' - Finnish
*'''Hun''' (HunM, HunN) - Hungarian
*'''Hun''' - Hungarian
*'''Nor''' (NorM, NorN) - Norwegian
*'''Nor''' - Norwegian
*'''Pol''' (PolM, PolM) - Polish
*'''Pol''' - Polish
*'''Swe''' (SweM, SweN) - Swedish-->
*'''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 09: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
|}
Flag of Japan Japanese English Flag of the Netherlands Dutch Flag of France French Flag of Germany German Flag of Italy Italian Flag of Mexico Spanish (NoA) Flag of Spain Spanish (NoE)
ひろば Pikmin Park Pikmin-park parc Pikmin Pikmin-Park Parco Pikmin Parque pikmin Parque Pikmin