Template:Infobox mission: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Created page with "{{game icons|pikmin2=y}} {|class="infobox" align="right" style="width: 25em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey" ! co...")
 
(Updated Candypop Bud icons.)
 
(39 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{game icons|pikmin2=y}}
{| class="infobox" style="width: 260px;"
{|class="infobox" align="right" style="width: 25em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}''<br><span style="font-size: 70%;">''{{#if:{{{be|}}}|Battle Enemies!|Collect Treasure!}}''</span>
! colspan="4" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}''
|-
|-
! colspan="4" style="background: #fff; text-align: center;" | [[Image:{{{image}}}|{{{size|250px}}}]]
| colspan="2" style="text-align: center;" | {{#if:{{{screenshot|}}}|{{switchable|Screenshot|[[File:{{{screenshot}}}|{{{size|250px}}}]]|Map|[[File:{{{map}}}|{{{size|250px}}}]]}}|[[File:{{{map}}}|{{{size|250px}}}]]}}
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="4" style="text-align:center" {{!}} {{{caption}}}
! colspan="2" style="text-align: center;" | Starting [[Pikmin family|Pikmin]]
{{!}}- }}
|-
| style="background: #e6e9ff;" | '''[[Red Pikmin]]''' || {{#if:{{{redm|}}} | {{tt|{{{red|0}}} | {{#switch:{{{redm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{red|0}}} }}
| colspan="2" |
{| class="wikitable" style="text-align:center; margin: auto;"
{{#if:{{{red|}}}|
{{!!}} {{icon|Red Pikmin|v=P3}} }}{{#if:{{{rock|}}}|
{{!!}} {{icon|Rock Pikmin|v=P3}} }}{{#if:{{{yellow|}}}|
{{!!}} {{icon|Yellow Pikmin|v=P3}} }}{{#if:{{{winged|}}}|
{{!!}} {{icon|Winged Pikmin|v=P3}} }}{{#if:{{{blue|}}}|
{{!!}} {{icon|Blue Pikmin|v=P3}} }}{{#if:{{{purple|}}}|
{{!!}} {{icon|Purple Pikmin|v=P3}} }}{{#if:{{{white|}}}|
{{!!}} {{icon|White Pikmin|v=P3}} }}{{#if:{{{redcb|}}}|
{{!!}} {{icon|Candypop Bud|v=P3 red}} }}{{#if:{{{rockcb|}}}|
{{!!}} {{icon|Candypop Bud|v=P3 rock}} }}{{#if:{{{yellowcb|}}}|
{{!!}} {{icon|Candypop Bud|v=P3 yellow}} }}{{#if:{{{wingedcb|}}}|
{{!!}} {{icon|Candypop Bud|v=P3 winged}} }}{{#if:{{{bluecb|}}}|
{{!!}} {{icon|Candypop Bud|v=P3 blue}} }}{{#if:{{{purplecb|}}}|
{{!!}} {{icon|Candypop Bud|v=P3 purple}} }}{{#if:{{{whitecb|}}}|
{{!!}} {{icon|Candypop Bud|v=P3 white}} }}
|-
{{#if:{{{red|}}}|
{{!!}} {{{red|0}}}}}    {{#if:{{{rock|}}}|
{{!!}} {{{rock|0}}}}}    {{#if:{{{yellow|}}}|
{{!!}} {{{yellow|0}}}}}  {{#if:{{{winged|}}}|
{{!!}} {{{winged|0}}}}}  {{#if:{{{blue|}}}|
{{!!}} {{{blue|0}}}}}    {{#if:{{{purple|}}}|
{{!!}} {{{purple|0}}}}}  {{#if:{{{white|}}}|
{{!!}} {{{white|0}}}}}  {{#if:{{{redcb|}}}|
{{!!}} {{{redcb}}} }}    {{#if:{{{rockcb|}}}|
{{!!}} {{{rockcb}}} }}  {{#if:{{{yellowcb|}}}|
{{!!}} {{{yellowcb}}} }} {{#if:{{{wingedcb|}}}|
{{!!}} {{{wingedcb}}} }} {{#if:{{{bluecb|}}}|
{{!!}} {{{bluecb}}} }}  {{#if:{{{purplecb|}}}|
{{!!}} {{{purplecb}}} }} {{#if:{{{whitecb|}}}|
{{!!}} {{{whitecb}}} }}
|}
|-
! colspan="2" style="text-align: center;" | Requirements
|-
| colspan="2" |
{| class="wikitable" style="text-align:center; margin: auto;"
| style="width: 24px" | [[File:MM {{#if:{{{be|}}}|BE|CT}} bronze.png|x24px|link=|Bronze]]
| style="width: 24px" | [[File:MM {{#if:{{{be|}}}|BE|CT}} silver.png|x24px|link=|Silver]]
| style="width: 24px" | [[File:MM {{#if:{{{be|}}}|BE|CT}} gold.png|x24px|link=|Gold]]
| style="width: 24px" | [[File:MM {{#if:{{{be|}}}|BE|CT}} platinum.png|x24px|link=|Platinum]]
|-
| {{{bronze}}}
| {{{silver}}}
| {{{gold}}}
| {{{platinum}}}
|}
|-
! Time limit
| {{{time}}}
|-
! [[Music]]
| ''{{{music}}}''
|}<includeonly>{{#if:{{{noicons|}}}||{{game icons|pikmin3=y}}}} [[Category:Mission Mode levels]]</includeonly><noinclude>
 
{{clear}}
==Info==
Place this template at the top of [[Mission Mode]] level articles or sections. This creates an information box with data about the level. The infobox is slightly different depending on whether it's a Collect treasure! or a Battle enemies! level.
 
When the article is only about a certain mission type (CT! or BE!), put the infobox at the top of the article, and include both a screenshot and the map.
 
If the article contains info on both mission types, put a screenshot at the top of the article (Collect treasure! only, for consistency), and put an infobox at the top of the Collect treasure! section, and another at the top of the Battle enemies! section; both of these must only have a map, and each one must be set to the appropriate mission type using the "be" parameter.
 
Articles with this template are automatically given their own category.


| style="background: #e6e9ff;" | '''Max Pokos''' || {{{mpoko|0}}}
==Parameters==
{| class = "wikitable"
! 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
| No ||  || 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.
|-
|-
| style="background: #e6e9ff;" | '''[[Yellow Pikmin]]''' || {{#if:{{{yellowm|}}} | {{tt|{{{yellow|0}}} | {{#switch:{{{yellowm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{yellow|0}}} }}
! red
| style="background: #e6e9ff;" | '''Pokos for Bronze''' || {{{bpoko|0}}}
| No ||  || Number of starting Red Pikmin.
|-
|-
| style="background: #e6e9ff;" | '''[[Blue Pikmin]]''' || {{#if:{{{bluem|}}} | {{tt|{{{blue|0}}} | {{#switch:{{{bluem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{blue|0}}} }}
! rock
| style="background: #e6e9ff;" | '''Pokos for Silver''' || {{{spoko|0}}}
| No || || Same as above, but Rock Pikmin.
|-
|-
| style="background: #e6e9ff;" | '''[[White Pikmin]]''' || {{#if:{{{whitem|}}} | {{tt|{{{white|0}}} | {{#switch:{{{whitem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{white|0}}} }}
! yellow
| style="background: #e6e9ff;" | '''Pokos for Gold''' || {{{gpoko|0}}}
| No || || Same as above, but Yellow Pikmin.
|-
|-
| style="background: #e6e9ff;" | '''[[Purple Pikmin]]''' || {{#if:{{{purplem|}}} | {{tt|{{{purple|0}}} | {{#switch:{{{purplem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{purple|0}}} }}
! winged
| style="background: #e6e9ff;" | '''Pokos for Platinum''' || {{{ppoko|0}}}
| No || || Same as above, but Winged Pikmin.
|-
|-
| style="background: #e6e9ff;" | '''[[Rock Pikmin]]''' || {{#if:{{{rockm|}}} | {{tt|{{{rock|0}}} | {{#switch:{{{rockm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{rock|0}}} }}
! blue
| style="background: #e6e9ff;" | '''Time Limit''' || style="padding-right: 8px;" | {{{time|00:00}}}
| No || || Same as above, but Blue Pikmin.
|-
|-
| style="background: #e6e9ff;" | '''[[Winged Pikmin]]''' || {{#if:{{{wingedm|}}} | {{tt|{{{winged|0}}} | {{#switch:{{{wingedm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{winged|0}}}
! purple
| No ||  || Same as above, but Purple Pikmin.
|-
! white
| No ||  || Same as above, but White Pikmin.
|-
! redcb
| No ||  || Number of Red [[Candypop Bud]]s, if any.
|-
! rockcb
| No ||  || Same as above, but Rock [[Candypop Bud]]s.
|-
! yellowcb
| No ||  || Same as above, but Yellow [[Candypop Bud]]s.
|-
! wingedcb
| No ||  || Same as above, but Winged [[Candypop Bud]]s.
|-
! bluecb
| No ||  || Same as above, but Blue [[Candypop Bud]]s.
|-
! purplecb
| No ||  || Same as above, but Purple [[Candypop Bud]]s.
|-
! whitecb
| No ||  || Same as above, but White [[Candypop Bud]]s.
|-
! 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.
|-
! music
| '''Yes''' ||  || Song that plays in this level, with a link to the corresponding section on the [[Music in Pikmin 3|Music in ''Pikmin 3'']] article.
|-
! noicon
| No ||  || If this a value, like "y", auto {{tem|game icons}} is disabled (to avoid conflicts with other templates).
|}
 
==Skeleton==
<pre>
{{infobox mission
|be        =
|screenshot =
|map        =
|size      =
|red        =
|redcb      =
|rock      =
|rockcb    =
|yellow    =
|yellowcb  =
|winged     =
|wingedcb  =
|blue      =
|bluecb    =
|purple    =
|purplecb  =
|white      =
|whitecb    =
|bronze    =
|silver    =  
|gold      =  
|platinum  =  
|time      =
|noicons    =
}}
}}
|}<includeonly>[[Category:Challenge Mode levels]]</includeonly><noinclude>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]


==Use==
[[Category:Information boxes]]</noinclude>
<pre>{{infobox challenge
|image    = image title including extension
|size      = image size (optional)
|caption  = image caption (optional)
|sublevels = number of sublevels
|red      = number of Red Pikmin (optional, defaults to 0)
|redm      = Red maturity ("l", "b" or "f", omit if no Red Pikmin)
|purple    = number of purples
|purplem  = Purple maturity
|white    = number of whites
|whitem    = White maturity
|yellow    = number of yellows
|yellowm  = Yellow maturity
|blue      = number of blues
|bluem    = Blue maturity
|bulbmin  = number of Bulbmin
|bulmbinm  = Bulbmin maturity
|bitter    = number of Ultra-bitter sprays
|spicy    = number of Ultra-spicy sprays
|gridcol  = column number on the menu grid
|gridrow  = row number on the menu grid
}}</pre></noinclude>

Latest revision as of 02:25, July 31, 2023

Infobox mission
Collect Treasure!
[[File:{{{map}}}|250px]]
Starting Pikmin
Requirements
Bronze Silver Gold Platinum
{{{bronze}}} {{{silver}}} {{{gold}}} {{{platinum}}}
Time limit {{{time}}}
Music {{{music}}}

Info

Place this template at the top of Mission Mode level articles or sections. This creates an information box with data about the level. The infobox is slightly different depending on whether it's a Collect treasure! or a Battle enemies! level.

When the article is only about a certain mission type (CT! or BE!), put the infobox at the top of the article, and include both a screenshot and the map.

If the article contains info on both mission types, put a screenshot at the top of the article (Collect treasure! only, for consistency), and put an infobox at the top of the Collect treasure! section, and another at the top of the Battle enemies! section; both of these must only have a map, and each one must be set to the appropriate mission type using the "be" parameter.

Articles with this template are automatically given their own category.

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 No 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 Number of starting Red Pikmin.
rock No Same as above, but Rock Pikmin.
yellow No Same as above, but Yellow Pikmin.
winged No Same as above, but Winged Pikmin.
blue No Same as above, but Blue Pikmin.
purple No Same as above, but Purple Pikmin.
white No Same as above, but White Pikmin.
redcb No Number of Red Candypop Buds, if any.
rockcb No Same as above, but Rock Candypop Buds.
yellowcb No Same as above, but Yellow Candypop Buds.
wingedcb No Same as above, but Winged Candypop Buds.
bluecb No Same as above, but Blue Candypop Buds.
purplecb No Same as above, but Purple Candypop Buds.
whitecb No Same as above, but White Candypop Buds.
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.
music Yes Song that plays in this level, with a link to the corresponding section on the Music in Pikmin 3 article.
noicon No If this a value, like "y", auto {{game icons}} is disabled (to avoid conflicts with other templates).

Skeleton

{{infobox mission
|be         = 
|screenshot = 
|map        = 
|size       = 
|red        = 
|redcb      = 
|rock       = 
|rockcb     = 
|yellow     = 
|yellowcb   = 
|winged     = 
|wingedcb   = 
|blue       = 
|bluecb     = 
|purple     = 
|purplecb   = 
|white      = 
|whitecb    = 
|bronze     = 
|silver     = 
|gold       = 
|platinum   = 
|time       = 
|noicons    = 
}}