Template:Infobox mission: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
No edit summary
(Updated Candypop Bud icons.)
 
(33 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin3=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;" | <div class="switchable">
| colspan="2" style="text-align: center;" | {{#if:{{{screenshot|}}}|{{switchable|Screenshot|[[File:{{{screenshot}}}|{{{size|250px}}}]]|Map|[[File:{{{map}}}|{{{size|250px}}}]]}}|[[File:{{{map}}}|{{{size|250px}}}]]}}
<div class="switch" title="Picture">
[[Image:{{{image1|Nepeta3.jpg}}}|{{{size|250px}}}]]
</div>
<div class="switch" title="Menu Screen">
[[Image:{{{image2|Nepeta6.jpg}}}|{{{size|250px}}}]]
</div>
</div>
|-
|-
{{#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 {{#switch: {{{type|treasure}}}|{{{type|enemy}}}=Souls|{{{type|treasure}}}=Pokos}}''' || {{{max|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;" | '''{{#switch: {{{type|treasure}}}|{{{type|enemy}}}=Souls|{{{type|treasure}}}=Pokos}} for Bronze''' || {{{bronze|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;" | '''{{#switch: {{{type|treasure}}}|{{{type|enemy}}}=Souls|{{{type|treasure}}}=Pokos}} for Silver''' || {{{silver|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;" | '''{{#switch: {{{type|treasure}}}|{{{type|enemy}}}=Souls|{{{type|treasure}}}=Pokos}} for Gold''' || {{{gold|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;" | '''{{#switch: {{{type|treasure}}}|{{{type|enemy}}}=Souls|{{{type|treasure}}}=Pokos}} for Platinum''' || {{{platinum|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 of stage picture, including extension
|image    = image title of menu screen selection image, including extension
|size      = image size (optional)
|caption  = image caption (optional)
|max      = max number of Pokos/enemy souls avaliable
|red      = number of Red Pikmin, or for enemy, yes/no for availability.
|redm      = Red maturity ("l", "b" or "f", omit if no Red Pikmin)
|purple    = number of purples, or for enemy, yes/no for availability.
|purplem  = Purple maturity
|white    = number of whites, or for enemy, yes/no for availability.
|whitem    = White maturity
|yellow    = number of yellows, or for enemy, yes/no for availability.
|yellowm  = Yellow maturity
|blue      = number of blues, or for enemy, yes/no for availability.
|bluem    = Blue maturity
|rock      = number of Rock, or for enemy, yes/no for availability.
|rockm    = Rock maturity
|winged    = number of winged, or for enemy, yes/no for availability.
|wingedm  = Winged maturity
|bronze    = Pokos/enemy souls needed to obtain Bronze rank
|silver    = Pokos/enemy souls needed to obtain Silver rank
|gold      = Pokos/enemy souls needed to obtain Gold rank
|platinum  = Pokos/enemy souls needed to obtain Platinum rank
|noicons  = whether to disable display of game icons (to avoid conflicts with other templates)
}}</pre></noinclude>

Latest revision as of 03: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    = 
}}