Template:Infobox challenge: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Typos)
mNo edit summary
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}}
{| class="infobox"
{|class="infobox"
! colspan="4" class="infoboxTitle" | ''{{PAGENAME}}''
! colspan="4" class="infoboxTitle" | ''{{PAGENAME}}''
|-
|-
| colspan="4" style="text-align: center;" | [[Image:{{{image}}}|{{{size|250px}}}]]
| colspan="4" style="text-align: center;" | [[File:{{{image}}}|{{{size|250px}}}]]
|-
{{#if:{{{caption|}}}|{{!}} colspan="4" style="text-align:center" {{!}} {{{caption}}} }}
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="4" style="text-align:center" {{!}} {{{caption}}}
{{!}}- }}
! style="width: 40%;" | [[Sublevel]]s
! style="width: 40%;" | [[Sublevel]]s
| style="width: 10%; padding-right: 8px;" | {{{sublevels}}}
| style="width: 10%; padding-right: 8px;" | {{{sublevels}}}
! style="width: 40%;" | [[Ultra-Bitter Spray]]s
! style="width: 40%;" | [[Ultra-bitter spray]]s
| style="width: 10%;" | {{{bitter|0}}}
| style="width: 10%;" | {{{bitter|0}}}
|-
|-
! [[Red Pikmin]]
! [[Red Pikmin]]
| {{#if:{{{redm|}}} | {{tt|{{{red|0}}} | {{#switch:{{{redm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{red|0}}} }}
| {{{red|0}}}
! [[Ultra-spicy spray]]s
! [[Ultra-spicy spray]]s
| {{{spicy|0}}}
| {{{spicy|0}}}
|-
|-
! [[Yellow Pikmin]]
! [[Yellow Pikmin]]
| {{#if:{{{yellowm|}}} | {{tt|{{{yellow|0}}} | {{#switch:{{{yellowm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{yellow|0}}} }}
| {{{yellow|0}}}
| rowspan="5" colspan="2" style="padding-left: 8px;" | <center>{{Challenge grid|{{{gridcol}}}|{{{gridrow}}} }}</center>
| rowspan="5" colspan="2" style="padding-left: 8px;" | <center>{{Challenge grid|{{{gridcol}}}|{{{gridrow}}} }}</center>
|-
|-
! [[Blue Pikmin]]
! [[Blue Pikmin]]
| {{#if:{{{bluem|}}} | {{tt|{{{blue|0}}} | {{#switch:{{{bluem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{blue|0}}} }}
| {{{blue|0}}}
|-
|-
! [[White Pikmin]]
! [[White Pikmin]]
| {{#if:{{{whitem|}}} | {{tt|{{{white|0}}} | {{#switch:{{{whitem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{white|0}}} }}
| {{{white|0}}}
|-
|-
! [[Purple Pikmin]]
! [[Purple Pikmin]]
| {{#if:{{{purplem|}}} | {{tt|{{{purple|0}}} | {{#switch:{{{purplem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{purple|0}}} }}
| {{{purple|0}}}
|-
|-
! [[Bulbmin]]
! [[Bulbmin]]
| {{#if:{{{bulbminm|}}} | {{tt|{{{bulbmin|0}}} | {{#switch:{{{bulbminm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{bulbmin|0}}} }}
| {{{bulbmin|0}}}
|}<includeonly>[[Category:Challenge Mode levels]][[Category:Pikmin 2 Challenge Mode]]</includeonly><noinclude>
|}<includeonly>{{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}} [[Category:Pikmin 2 Challenge Mode levels]]</includeonly><noinclude>
 
{{todo|Change this infobox's style to match [[Template:Infobox mission]], mainly in terms of the starting Pikmin numbers.}}
{{clear}}
==Info==
==Info==
Place this template at the top of [[Challenge Mode (Pikmin 2)|''Pikmin 2'' Challenge Mode]] level articles. This will place an information box with data about the level.
Place this template at the top of [[Challenge Mode (Pikmin 2)|''Pikmin 2'' Challenge Mode]] level articles. This will place an information box with data about the level.


Articles with this template are automatically categorized under [[:Category:Challenge Mode levels]] and [[:Category:Pikmin 2 Challenge Mode]].
Articles with this template are automatically categorized under [[:Category:Pikmin 2 Challenge Mode levels]].


==Parameters==
==Parameters==
Line 66: Line 66:
! bulbmin
! bulbmin
| No || 0 || Same as above, but Bulbmin.
| No || 0 || Same as above, but Bulbmin.
|-
! redm
| No ||  || Maturity of the starting red Pikmin. "l" for leaf, "b" for bud, and "f" for flower.
|-
! purplem
| No ||  || Same as above, but purples.
|-
! whitem
| No ||  || Same as above, but whites.
|-
! yellowm
| No ||  || Same as above, but yellows.
|-
! bluem
| No ||  || Same as above, but blues.
|-
! bulbminm
| No ||  || Same as above, but Bulbmin.
|-
|-
! bitter
! bitter
| No || 0 || Starting number of Ultra-Bitter Sprays.
| No || 0 || Starting number of ultra-bitter sprays.
|-
|-
! spicy
! spicy
| No || 0 || Starting number of Ultra-Spicy Sprays.
| No || 0 || Starting number of ultra-spicy sprays.
|-
|-
! gridcol
! gridcol
Line 101: Line 83:
|}
|}


==Template==
==Skeleton==
<pre>
<pre>
{{infobox challenge
{{infobox challenge
Line 114: Line 96:
|blue      =  
|blue      =  
|bulbmin  =  
|bulbmin  =  
|redm      =
|purplem  =
|whitem    =
|yellowm  =
|bluem    =
|bulbminm  =
|bitter    =  
|bitter    =  
|spicy    =  
|spicy    =  
Line 128: Line 104:
</pre>
</pre>


[[Category:Infobox templates]]
[[Category:Information boxes]]</noinclude>
</noinclude>

Latest revision as of 09:50, September 14, 2022

Infobox challenge
[[File:{{{image}}}|250px]]
Sublevels {{{sublevels}}} Ultra-bitter sprays 0
Red Pikmin 0 Ultra-spicy sprays 0
Yellow Pikmin 0
P2 challenge mode flower.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
P2 challenge mode dot.png
Blue Pikmin 0
White Pikmin 0
Purple Pikmin 0
Bulbmin 0

To do: Change this infobox's style to match Template:Infobox mission, mainly in terms of the starting Pikmin numbers.
Care to do so?

Info

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

Articles with this template are automatically categorized under Category:Pikmin 2 Challenge Mode levels.

Parameters

Parameter Mandatory Default Detailed description
image Yes Image title, including extension.
size No 250px Image size.
sublevels Yes Number of sublevels.
red No 0 Number of starting red Pikmin.
white No 0 Same as above, but purples.
yellow No 0 Same as above, but yellows.
blue No 0 Same as above, but blues.
bulbmin No 0 Same as above, but Bulbmin.
bitter No 0 Starting number of ultra-bitter sprays.
spicy No 0 Starting number of ultra-spicy sprays.
gridcol Yes Column number on the menu grid.
gridrow Yes Row number on the menu grid.
noicons No If this has a value, like "y", it disables display of game icons (to avoid conflicts with other templates).

Skeleton

{{infobox challenge
|image     = 
|size      = 
|caption   = 
|sublevels = 
|red       = 
|purple    = 
|white     = 
|yellow    = 
|blue      = 
|bulbmin   = 
|bitter    = 
|spicy     = 
|gridcol   = 
|gridrow   = 
|noicons   = 
}}