Template:Infobox challenge: Difference between revisions

From Pikmin Fanon
(Created page with '{| class="infobox" align="right" style="width: 20em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey" ! colspan="4" style="font-size:...')
 
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" align="right" style="width: 20em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
{| class="infobox" align="right" style="width: 30em; background-color:#fff; font-size: 80%; text-align: left; border-style: solid; border-width: 2px; border-color: grey"
! colspan="4" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}''
! class="infoboxTitle" colspan="4" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{customname|{{PAGENAME}} }}}''
|-
|-
! colspan="4" style="background: #fff; text-align: center;" | [[Image:{{{image}}}|{{{size|250px}}}]]
{{#if:{{{image|}}}|{{!}} colspan="4" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}}
|-
|-
| style="background: #e6e9ff;" | '''[[Sublevel]]s''' || {{{sublevels}}}
{{#if:{{{caption|}}}|{{!}} colspan="4" style="text-align:center" {{!}} {{{caption}}} }}
| style="background: #e6e9ff;" | '''[[Yellow Pikmin]]''' || {{{yellow|0}}}
|-
|-
| style="background: #e6e9ff;" | '''[[Red Pikmin]]''' || {{{red|0}}}
{{#if:{{{goal|}}}|! colspan="2" width="40%" style="background: #eef;" {{!}} Goal
| style="background: #e6e9ff;" | '''[[Blue Pikmin]]''' || {{{blue|0}}}
{{!}} {{{goal}}} }}
|-
|-
| style="background: #e6e9ff;" | '''[[Purple Pikmin]]''' || {{{purple|0}}}
{{#if:{{{difficulty|}}}|! colspan="2" width="40%" style="background: #eef;" {{!}} Difficulty
| style="background: #e6e9ff;" | '''[[Ultra-bitter spray]]s''' || {{{bitter|0}}}
{{!}} {{{difficulty}}} }}
|-
|-
| style="background: #e6e9ff;" | '''[[White Pikmin]]''' || {{{white|0}}}
{{#if:{{{sublevels|}}}|! colspan="2" width="40%" style="background: #eef;" {{!}} [[Cave|Sublevel]]s
| style="background: #e6e9ff;" | '''[[Ultra-spicy spray]]s''' || {{{spicy|0}}}
{{!}} {{{sublevels}}} }}
|-
|-
| style="background: #e6e9ff;" | '''[[Bulbmin]]''' || {{{bulbmin|0}}}
! colspan="2" width="40%" style="background: #eef;" {{!}} Time limit
|}<includeonly>[[Category:Challenge Mode levels]]</includeonly><noinclude>
{{!}} {{{time|N/A}}}
[[Category:Infobox templates|{{PAGENAME}}]]
|-
{{#if:{{{pikname1|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname1}}}]]
{{!}} {{{piknum1|1}}} }}
{{#if:{{{sprayname1|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname1}}}]]
{{!}} {{{spraynum1|1}}} }}
|-
{{#if:{{{pikname2|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname2}}}]]
{{!}} {{{piknum2|1}}} }}
{{#if:{{{sprayname2|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname2}}}]]
{{!}} {{{spraynum2|1}}} }}
|-
{{#if:{{{pikname3|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname3}}}]]
{{!}} {{{piknum3|1}}} }}
{{#if:{{{sprayname3|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname3}}}]]
{{!}} {{{spraynum3|1}}} }}
|-
{{#if:{{{pikname4|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname4}}}]]
{{!}} {{{piknum4|1}}} }}
{{#if:{{{sprayname4|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname4}}}]]
{{!}} {{{spraynum4|1}}} }}
|-
{{#if:{{{pikname5|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname5}}}]]
{{!}} {{{piknum5|1}}} }}
{{#if:{{{sprayname5|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname5}}}]]
{{!}} {{{spraynum5|1}}} }}
|-
{{#if:{{{pikname6|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname6}}}]]
{{!}} {{{piknum6|1}}} }}
{{#if:{{{sprayname6|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname6}}}]]
{{!}} {{{spraynum6|1}}} }}
|-
{{#if:{{{pikname7|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname7}}}]]
{{!}} {{{piknum7|1}}} }}
{{#if:{{{sprayname7|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname7}}}]]
{{!}} {{{spraynum7|1}}} }}
|-
{{#if:{{{pikname8|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname8}}}]]
{{!}} {{{piknum8|1}}} }}
{{#if:{{{sprayname8|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname8}}}]]
{{!}} {{{spraynum8|1}}} }}
|-
{{#if:{{{pikname9|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname9}}}]]
{{!}} {{{piknum9|1}}} }}
{{#if:{{{sprayname9|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname9}}}]]
{{!}} {{{spraynum9|1}}} }}
|-
{{#if:{{{pikname10|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{pikname10}}}]]
{{!}} {{{piknum10|1}}} }}
{{#if:{{{sprayname10|}}}|! width="40%" style="background: #eef;" {{!}} [[{{{sprayname10}}}]]
{{!}} {{{spraynum10|1}}} }}
|-
{{#if:{{{prevstage|}}}|! colspan="2" width="40%" style="background: #eef;" {{!}} Previous stage
{{!}} {{{prevstage}}} }}
|-
{{#if:{{{nextstage|}}}|! colspan="2" width="40%" style="background: #eef;" {{!}} Next stage
{{!}} {{{nextstage}}} }}
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:Challenge Mode Stages]]}}</includeonly><noinclude>
 
{{clear}}
 
==Info==
Place this template at the top of [[Challenge Mode]] stage articles. This will place an information box with data about it.
 
Articles with this template are automatically categorized under [[:Category:Challenge Mode stages]].
 
==Parameters==
{| class = "wikitable"
! Parameter || Mandatory || Default || Detailed description
|-
! customname
| No ||  || If the stage's name differs from the article's, specify it here.
|-
! image
| No ||  || Image title, including extension.
|-
! size
| No || || Image size.
|-
! caption
| No || || Image caption.
|-
! goal
| No || || The specific goal of the stage, i.e. Defeat Enemies, Collect Treasures, Breed Pikmin.
|-
! difficulty
| No || || How hard it is to complete the stage.
|-
! sublevels
| No ||  || Number of sublevels.
|-
! time
| Yes ||  || Time limit, in seconds.
|-
! pikname#
| No ||  || Name of starting Pikmin. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between.
|-
! piknum#
| No ||  || Number of starting Pikmin. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between.
|-
! sprayname#
| No ||  || Name of starting spray. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between.
|-
! spraynum#
| No ||  || Number of starting spray. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between.
|-
! prevstage
| No ||  || The stage preceding the current one.
|-
! nextstage
| No ||  || The stage succeeding the current one.
|-
! nocat
| No ||  || Giving this a value like "y" makes the template not auto-categorize the stage.
|}
 
==Skeleton==
<pre>
{{infobox challenge
|customname=
|image=
|size=
|caption=
|goal=
|difficulty=
|sublevels=
|time=
|pikname#=
|piknum#=
|sprayname#=
|spraynum#=
|prevstage=
|nextstage=
|nocat=
}}
</pre>


==Use==
[[Category:Infobox templates]]</noinclude>
<pre>{{infobox challenge
|image=image title including extension
|size=image size
|sublevels=number of sublevels
|red=number of Red Pikmin
|purple=number of purples
|white=number of whites
|yellow=number of yellows
|blue=number of blues
|bitter=number of Ultra-bitter sprays
|spicy=number of Ultra-spicy sprays
}}</pre></noinclude>

Latest revision as of 14:08, 10 April 2024

Infobox challenge
Time limit N/A

Info

Place this template at the top of Challenge Mode stage articles. This will place an information box with data about it.

Articles with this template are automatically categorized under Category:Challenge Mode stages.

Parameters

Parameter Mandatory Default Detailed description
customname No If the stage's name differs from the article's, specify it here.
image No Image title, including extension.
size No Image size.
caption No Image caption.
goal No The specific goal of the stage, i.e. Defeat Enemies, Collect Treasures, Breed Pikmin.
difficulty No How hard it is to complete the stage.
sublevels No Number of sublevels.
time Yes Time limit, in seconds.
pikname# No Name of starting Pikmin. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between.
piknum# No Number of starting Pikmin. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between.
sprayname# No Name of starting spray. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between.
spraynum# No Number of starting spray. Supports up to ten entries. To use, replace the hashtag with 1, 10, or any number between.
prevstage No The stage preceding the current one.
nextstage No The stage succeeding the current one.
nocat No Giving this a value like "y" makes the template not auto-categorize the stage.

Skeleton

{{infobox challenge
|customname=
|image=
|size=
|caption=
|goal=
|difficulty=
|sublevels=
|time=
|pikname#=
|piknum#=
|sprayname#=
|spraynum#=
|prevstage=
|nextstage=
|nocat=
}}