Pikmin 3 icon.png

Template:Infobox mission: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
(New documentation style.)
Line 12: Line 12:
</div>
</div>
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="4" style="text-align:center" {{!}} {{{caption}}}
{{!}}- }}
| style="background: #e6e9ff;" | '''[[Red Pikmin]]''' || {{#if:{{{redm|}}} | {{tt|{{{red|0}}} | {{#switch:{{{redm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{red|0}}} }}
| style="background: #e6e9ff;" | '''[[Red Pikmin]]''' || {{#if:{{{redm|}}} | {{tt|{{{red|0}}} | {{#switch:{{{redm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{red|0}}} }}
| style="background: #e6e9ff;" | '''{{#switch: {{{type|treasure}}}|{{{type|enemy}}}=Points|{{{type|treasure}}}=Pokos}} for Bronze''' || {{{bronze|0}}}
| style="background: #e6e9ff;" | '''{{#if:{{{be|}}}|Points|Pokos}} for Bronze''' || {{{bronze|0}}}
|-
|-
| style="background: #e6e9ff;" | '''[[Yellow Pikmin]]''' || {{#if:{{{yellowm|}}} | {{tt|{{{yellow|0}}} | {{#switch:{{{yellowm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{yellow|0}}}  }}
| style="background: #e6e9ff;" | '''[[Yellow Pikmin]]''' || {{#if:{{{yellowm|}}} | {{tt|{{{yellow|0}}} | {{#switch:{{{yellowm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{yellow|0}}}  }}
| style="background: #e6e9ff;" | '''{{#switch: {{{type|treasure}}}|{{{type|enemy}}}=Points|{{{type|treasure}}}=Pokos}} for Silver''' || {{{silver|0}}}
| style="background: #e6e9ff;" | '''{{#if:{{{be|}}}|Points|Pokos}} for Silver''' || {{{silver|0}}}
|-
|-
| style="background: #e6e9ff;" | '''[[Blue Pikmin]]''' || {{#if:{{{bluem|}}} | {{tt|{{{blue|0}}} | {{#switch:{{{bluem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{blue|0}}} }}
| style="background: #e6e9ff;" | '''[[Blue Pikmin]]''' || {{#if:{{{bluem|}}} | {{tt|{{{blue|0}}} | {{#switch:{{{bluem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{blue|0}}} }}
| style="background: #e6e9ff;" | '''{{#switch: {{{type|treasure}}}|{{{type|enemy}}}=Points|{{{type|treasure}}}=Pokos}} for Gold''' || {{{gold|0}}}
| style="background: #e6e9ff;" | '''{{#if:{{{be|}}}|Points|Pokos}} for Gold''' || {{{gold|0}}}
|-
|-
| style="background: #e6e9ff;" | '''[[White Pikmin]]''' || {{#if:{{{whitem|}}} | {{tt|{{{white|0}}} | {{#switch:{{{whitem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{white|0}}} }}
| style="background: #e6e9ff;" | '''[[White Pikmin]]''' || {{#if:{{{whitem|}}} | {{tt|{{{white|0}}} | {{#switch:{{{whitem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{white|0}}} }}
| style="background: #e6e9ff;" | '''{{#switch: {{{type|treasure}}}|{{{type|enemy}}}=Points|{{{type|treasure}}}=Pokos}} for Platinum''' || {{{platinum|0}}}
| style="background: #e6e9ff;" | '''{{#if:{{{be|}}}|Points|Pokos}} for Platinum''' || {{{platinum|0}}}
|-
|-
| style="background: #e6e9ff;" | '''[[Purple Pikmin]]''' || {{#if:{{{purplem|}}} | {{tt|{{{purple|0}}} | {{#switch:{{{purplem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{purple|0}}} }}
| style="background: #e6e9ff;" | '''[[Purple Pikmin]]''' || {{#if:{{{purplem|}}} | {{tt|{{{purple|0}}} | {{#switch:{{{purplem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{purple|0}}} }}
| style="background: #e6e9ff;" | '''Time Limit''' || style="padding-right: 8px;" | {{{time|00:00}}}
| style="background: #e6e9ff;" | '''Time limit''' || style="padding-right: 8px;" | {{{time}}}
|-
|-
| style="background: #e6e9ff;" | '''[[Rock Pikmin]]''' || {{#if:{{{rockm|}}} | {{tt|{{{rock|0}}} | {{#switch:{{{rockm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{rock|0}}} }}  
| style="background: #e6e9ff;" | '''[[Rock Pikmin]]''' || {{#if:{{{rockm|}}} | {{tt|{{{rock|0}}} | {{#switch:{{{rockm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{rock|0}}} }}  
| style="background: #e6e9ff;" | '''World Record''' || style="padding-right: 8px;" | {{{wr|?}}}
| style="background: #e6e9ff;" | '''World record''' || style="padding-right: 8px;" | {{{wr|?}}}
|-
|-
| style="background: #e6e9ff;" | '''[[Winged Pikmin]]''' || {{#if:{{{wingedm|}}} | {{tt|{{{winged|0}}} | {{#switch:{{{wingedm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{winged|0}}} }}
| style="background: #e6e9ff;" | '''[[Winged Pikmin]]''' || {{#if:{{{wingedm|}}} | {{tt|{{{winged|0}}} | {{#switch:{{{wingedm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{winged|0}}} }}
| style="background: #e6e9ff;" | '''Co-Op World Record''' || style="padding-right: 8px;" | {{{co_op_wr|?}}}  
| style="background: #e6e9ff;" | '''Co-Op world record''' || style="padding-right: 8px;" | {{{co_op_wr|?}}}  
|}<includeonly>[[Category:Challenge Mode levels]]</includeonly><noinclude>
|}<includeonly>[[Category:Challenge Mode levels]]</includeonly><noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]


==Use==
{{clear}}
<pre>{{infobox mission
==Info==
|screenshot = image title of stage screenshot, including extension
Place this template at the top of [[Mission Mode]] level articles. This creates an information box with data about the level.
|map       = image title of overview map image, including extension
 
|size     = image size (optional)
Articles with this template are automatically categorized under [[:Category:Challenge Mode levels]].
|caption  = image caption (optional)
 
|red       = number of Red Pikmin, or for enemy, yes/no for availability.
==Parameters==
|redm     = Red maturity ("l", "b" or "f", omit if no Red Pikmin)
{| class = "wikitable"
|purple    = number of purples, or for enemy, yes/no for availability.
! Parameter || Mandatory || Default || Detailed description
|purplem   = Purple maturity
|-
|white    = number of whites, or for enemy, yes/no for availability.
! be
|whitem   = White maturity
| No ||  || If this infobox is for a Battle Enemies! stage, give this a value like "y". Otherwise, Collect Treasure! is assumed.
|yellow    = number of yellows, or for enemy, yes/no for availability.
|-
|yellowm   = Yellow maturity
! screenshot
|blue      = number of blues, or for enemy, yes/no for availability.
| '''Yes''' ||  || Image title of the stage screenshot, including extension.
|bluem     = Blue maturity
|-
|rock      = number of Rock, or for enemy, yes/no for availability.
! map
|rockm     = Rock maturity
| '''Yes''' ||  || Image title of the overview map image, including extension.
|winged    = number of winged, or for enemy, yes/no for availability.
|-
|wingedm   = Winged maturity
! size
|bronze   = Pokos/enemy points needed to obtain Bronze rank
| No || 250px || Size of both images.
|silver   = Pokos/enemy points needed to obtain Silver rank
|-
|gold     = Pokos/enemy points needed to obtain Gold rank
! red
|platinum  = Pokos/enemy points needed to obtain Platinum rank
| No || 0 || Number of red Pikmin, or for enemy, yes/no for availability.
|wr       = World Record for the Single Player mode.
|-
|coopwr   = World Record for the Co-Op mode.  
! purple
|noicons  = whether to disable display of game icons (to avoid conflicts with other templates)
| No || 0 || Same as above, but purple Pikmin.
}}</pre></noinclude>
|-
! white
| No || 0 || Same as above, but white Pikmin.
|-
! yellow
| No || 0 || Same as above, but yellow Pikmin.
|-
! blue
| No || 0 || Same as above, but blue Pikmin.
|-
! rock
| No || 0 || Same as above, but rock Pikmin.
|-
! winged
| No || 0 || Same as above, but winged Pikmin.
|-
! redm
| No ||  || Red Pikmin maturity: "l"eaf, "b"lue or "f"lower. Omit if no Red Pikmin.
|-
! purplem
| No ||  || Same as above, but purple Pikmin.
|-
! whitem
| No ||  || Same as above, but white Pikmin.
|-
! yellowm
| No ||  || Same as above, but yellow Pikmin.
|-
! bluem
| No ||  || Same as above, but blue Pikmin.
|-
! rockm
| No ||  || Same as above, but rock Pikmin.
|-
! wingedm
| No ||  || Same as above, but winged Pikmin.
|-
! bronze
| '''Yes''' ||  || Pokos or enemy points needed to obtain Bronze rank.
|-
! silver
| '''Yes''' ||  || Same as above, but Silver rank.
|-
! gold
| '''Yes''' ||  || Same as above, but Gold rank.
|-
! platinum
| '''Yes''' || || Same as above, but Platinum rank.
|-
! time
| '''Yes''' ||  || Time limit.
|-
! wr
| No || ? || World record for Single Player mode.
|-
! coopwr
| No || ? || World record for Co-Op mode.
|-
! noicon
| No ||  || If this a value, like "y", auto {{tem|game icons}} is disabled (to avoid conflicts with other templates).
|}
 
==Template==
<pre>
{{infobox mission
|be        =
|screenshot =
|map        =
|size      =
|caption    =
|red        =
|redm      =
|purple    =
|purplem    =
|white      =
|whitem    =
|yellow    =
|yellowm    =
|blue      =
|bluem      =
|rock      =
|rockm      =
|winged    =
|wingedm    =
|bronze    =
|silver    =
|gold      =
|platinum  =
|time      =
|wr        =
|coopwr    =
|noicons    =
}}
</pre>
 
[[Category:Infobox templates]]
</noinclude>

Revision as of 08:46, October 28, 2014

Infobox mission

[[Image:{{{screenshot}}}|250px]]

[[Image:{{{map}}}|250px]]

Red Pikmin 0 Pokos for Bronze 0
Yellow Pikmin 0 Pokos for Silver 0
Blue Pikmin 0 Pokos for Gold 0
White Pikmin 0 Pokos for Platinum 0
Purple Pikmin 0 Time limit {{{time}}}
Rock Pikmin 0 World record ?
Winged Pikmin 0 Co-Op world record ?

Info

Place this template at the top of Mission Mode level articles. This creates an information box with data about the level.

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

Parameters

Parameter Mandatory Default Detailed description
be No If this infobox is for a Battle Enemies! stage, give this a value like "y". Otherwise, Collect Treasure! is assumed.
screenshot Yes Image title of the stage screenshot, including extension.
map Yes Image title of the overview map image, including extension.
size No 250px Size of both images.
red No 0 Number of red Pikmin, or for enemy, yes/no for availability.
purple No 0 Same as above, but purple Pikmin.
white No 0 Same as above, but white Pikmin.
yellow No 0 Same as above, but yellow Pikmin.
blue No 0 Same as above, but blue Pikmin.
rock No 0 Same as above, but rock Pikmin.
winged No 0 Same as above, but winged Pikmin.
redm No Red Pikmin maturity: "l"eaf, "b"lue or "f"lower. Omit if no Red Pikmin.
purplem No Same as above, but purple Pikmin.
whitem No Same as above, but white Pikmin.
yellowm No Same as above, but yellow Pikmin.
bluem No Same as above, but blue Pikmin.
rockm No Same as above, but rock Pikmin.
wingedm No Same as above, but winged Pikmin.
bronze Yes Pokos or enemy points needed to obtain Bronze rank.
silver Yes Same as above, but Silver rank.
gold Yes Same as above, but Gold rank.
platinum Yes Same as above, but Platinum rank.
time Yes Time limit.
wr No ? World record for Single Player mode.
coopwr No ? World record for Co-Op mode.
noicon No If this a value, like "y", auto {{game icons}} is disabled (to avoid conflicts with other templates).

Template

{{infobox mission
|be         = 
|screenshot = 
|map        = 
|size       = 
|caption    = 
|red        = 
|redm       = 
|purple     = 
|purplem    = 
|white      = 
|whitem     = 
|yellow     = 
|yellowm    = 
|blue       = 
|bluem      = 
|rock       = 
|rockm      = 
|winged     = 
|wingedm    = 
|bronze     = 
|silver     = 
|gold       = 
|platinum   = 
|time       = 
|wr         = 
|coopwr     = 
|noicons    = 
}}