Template:Infobox challenge: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (let's try this)
mNo edit summary
 
(28 intermediate revisions by 7 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"
! colspan="4" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}''
! colspan="4" class="infoboxTitle" | ''{{PAGENAME}}''
|-
|-
! colspan="4" style="background: #fff; text-align: center;" | [[Image:{{{image}}}|{{{size|250px}}}]]
| colspan="4" style="text-align: center;" | [[File:{{{image}}}|{{{size|250px}}}]]
|-
|-
| 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}}}
! style="width: 40%;" | [[Sublevel]]s
| style="background: #e6e9ff;" | '''[[Blue Pikmin]]''' || {{{blue|0}}}
| style="width: 10%; padding-right: 8px;" | {{{sublevels}}}
! style="width: 40%;" | [[Ultra-bitter spray]]s
| style="width: 10%;" | {{{bitter|0}}}
|-
|-
| style="background: #e6e9ff;" | '''[[Purple Pikmin]]''' || {{{purple|0}}}
! [[Red Pikmin]]
| style="background: #e6e9ff;" | '''[[Ultra-bitter spray]]s''' || {{{bitter|0}}}
| {{{red|0}}}
! [[Ultra-spicy spray]]s
| {{{spicy|0}}}
|-
|-
| style="background: #e6e9ff;" | '''[[White Pikmin]]''' || {{{white|0}}}
! [[Yellow Pikmin]]
| style="background: #e6e9ff;" | '''[[Ultra-spicy spray]]s''' || {{{spicy|0}}}
| {{{yellow|0}}}
| rowspan="5" colspan="2" style="padding-left: 8px;" | <center>{{Challenge grid|{{{gridcol}}}|{{{gridrow}}} }}</center>
|-
|-
| style="background: #e6e9ff;" | '''[[Bulbmin]]''' || {{{bulbmin|0}}}
! [[Blue Pikmin]]
|}{{game icons|pikmin2=y}}<includeonly>[[Category:Challenge Mode levels]]</includeonly><noinclude>
| {{{blue|0}}}
[[Category:Infobox templates|{{PAGENAME}}]]
|-
! [[White Pikmin]]
| {{{white|0}}}
|-
! [[Purple Pikmin]]
| {{{purple|0}}}
|-
! [[Bulbmin]]
| {{{bulbmin|0}}}
|}<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==
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:Pikmin 2 Challenge Mode levels]].
 
==Parameters==
{| class = "wikitable"
! 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==
<pre>
{{infobox challenge
|image    =
|size      =
|caption  =
|sublevels =
|red      =
|purple    =
|white    =
|yellow    =
|blue      =
|bulbmin  =
|bitter    =
|spicy    =
|gridcol  =
|gridrow  =
|noicons  =
}}
</pre>


==Use==
[[Category:Information boxes]]</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 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   = 
}}