Template:Infobox challenge: Difference between revisions
Jump to navigation
Jump to search
m (New cat.) |
(New documentation style.) |
||
Line 1: | Line 1: | ||
{{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}} | {{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}} | ||
{|class="infobox" align="right" style="width: | {|class="infobox" align="right" style="width: 260px; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey" | ||
! colspan="4" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}'' | ! colspan="4" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}'' | ||
|- | |- | ||
Line 7: | Line 7: | ||
{{#if:{{{caption|}}}|{{!}} colspan="4" style="text-align:center" {{!}} {{{caption}}} | {{#if:{{{caption|}}}|{{!}} colspan="4" style="text-align:center" {{!}} {{{caption}}} | ||
{{!}}- }} | {{!}}- }} | ||
| style="background: #e6e9ff;" | '''[[Sublevel]]s''' || style="padding-right: 8px;" | {{{sublevels | | style="background: #e6e9ff;" | '''[[Sublevel]]s''' || style="padding-right: 8px;" | {{{sublevels}}} | ||
| style="background: #e6e9ff;" | '''[[Ultra-Bitter Spray]]s''' || {{{bitter|0}}} | | style="background: #e6e9ff;" | '''[[Ultra-Bitter Spray]]s''' || {{{bitter|0}}} | ||
|- | |- | ||
Line 24: | Line 24: | ||
| style="background: #e6e9ff;" | '''[[Bulbmin]]''' || {{#if:{{{bulbminm|}}} | {{tt|{{{bulbmin|0}}} | {{#switch:{{{bulbminm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{bulmbin|0}}} }} | | style="background: #e6e9ff;" | '''[[Bulbmin]]''' || {{#if:{{{bulbminm|}}} | {{tt|{{{bulbmin|0}}} | {{#switch:{{{bulbminm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{bulmbin|0}}} }} | ||
|}<includeonly>[[Category:Challenge Mode levels]][[Category:Pikmin 2 Challenge Mode]]</includeonly><noinclude> | |}<includeonly>[[Category:Challenge Mode levels]][[Category:Pikmin 2 Challenge Mode]]</includeonly><noinclude> | ||
== | ==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. | |||
|image | |||
|size | Articles with this template are automatically categorized under [[:Category:Challenge Mode levels]] and [[:Category:Pikmin 2 Challenge Mode]]. | ||
| | |||
| | ==Parameters== | ||
|red | {| class = "wikitable" | ||
|redm | ! Parameter || Mandatory || Default || Detailed description | ||
| | |- | ||
| | ! image | ||
| | | '''Yes''' || || Image title, including extension. | ||
| | |- | ||
| | ! size | ||
| | | No || 250px || Image size. | ||
| | |- | ||
| | ! sublevels | ||
| | | '''Yes''' || || Number of sublevels. | ||
| | |- | ||
|bitter | ! red | ||
| | | No || 0 || Number of starting red Pikmin. | ||
|gridcol | |- | ||
|gridrow | ! white | ||
|noicons | | No || 0 || Same as above, but purples. | ||
}}</pre></noinclude> | |- | ||
! yellow | |||
| No || 0 || Same as above, but yellows. | |||
|- | |||
! blue | |||
| No || 0 || Same as above, but blues. | |||
|- | |||
! 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 | |||
| No || 0 || Starting number of Ultra-Bitter Sprays. | |||
|- | |||
! spciy | |||
| 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). | |||
|} | |||
==Template== | |||
<pre> | |||
{{infobox challenge | |||
|image = | |||
|size = | |||
|caption = | |||
|sublevels = | |||
|red = | |||
|purple = | |||
|white = | |||
|yellow = | |||
|blue = | |||
|bulbmin = | |||
|redm = | |||
|purplem = | |||
|whitem = | |||
|yellowm = | |||
|bluem = | |||
|bulmbinm = | |||
|bitter = | |||
|spicy = | |||
|gridcol = | |||
|gridrow = | |||
|noicons = | |||
}} | |||
</pre> | |||
[[Category:Infobox templates]] | |||
</noinclude> |
Revision as of 12:07, October 20, 2014
Infobox challenge | |||
---|---|---|---|
[[Image:{{{image}}}|250px]] | |||
Sublevels | {{{sublevels}}} | Ultra-Bitter Sprays | 0 |
Red Pikmin | 0 | Ultra-spicy sprays | 0 |
Yellow Pikmin | 0 | ||
Blue Pikmin | 0 | ||
White Pikmin | 0 | ||
Purple Pikmin | 0 | ||
Bulbmin | 0 |
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:Challenge Mode levels and Category:Pikmin 2 Challenge Mode.
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. |
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 | No | 0 | Starting number of Ultra-Bitter Sprays. |
spciy | 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). |
Template
{{infobox challenge |image = |size = |caption = |sublevels = |red = |purple = |white = |yellow = |blue = |bulbmin = |redm = |purplem = |whitem = |yellowm = |bluem = |bulmbinm = |bitter = |spicy = |gridcol = |gridrow = |noicons = }}