Template:Infobox mission: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
(Updated Candypop Bud icons.)
 
(24 intermediate revisions by 6 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}}''<br><span style="font-size: 70%;">''{{#if:{{{be|}}}|Battle Enemies!|Collect Treasure!}}''</span>
|-
|-
! 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="Screenshot">
[[Image:{{{screenshot}}}|{{{size|250px}}}]]
</div>
<div class="switch" title="Map">
[[Image:{{{map}}}|{{{size|250px}}}]]
</div>
</div>
|-
|-
| style="background: #e6e9ff;" | '''[[Red Pikmin]]''' || {{#if:{{{redm|}}} | {{tt|{{{red|0}}} | {{#switch:{{{redm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{red|0}}} }}
! colspan="2" style="text-align: center;" | Starting [[Pikmin family|Pikmin]]
| 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}}} }}
| colspan="2" |
| style="background: #e6e9ff;" | '''{{#if:{{{be|}}}|Points|Pokos}} for Silver''' || {{{silver|0}}}
{| 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}} }}
|-
|-
| style="background: #e6e9ff;" | '''[[Blue Pikmin]]''' || {{#if:{{{bluem|}}} | {{tt|{{{blue|0}}} | {{#switch:{{{bluem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{blue|0}}} }}
{{#if:{{{red|}}}|
| style="background: #e6e9ff;" | '''{{#if:{{{be|}}}|Points|Pokos}} for Gold''' || {{{gold|0}}}
{{!!}} {{{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}}} }}
|}
|-
|-
| style="background: #e6e9ff;" | '''[[White Pikmin]]''' || {{#if:{{{whitem|}}} | {{tt|{{{white|0}}} | {{#switch:{{{whitem}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{white|0}}} }}
! colspan="2" style="text-align: center;" | Requirements
| 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}}} }}
| colspan="2" |
| style="background: #e6e9ff;" | '''Time limit''' || style="padding-right: 8px;" | {{{time}}}
{| 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}}}
|}
|-
|-
| style="background: #e6e9ff;" | '''[[Rock Pikmin]]''' || {{#if:{{{rockm|}}} | {{tt|{{{rock|0}}} | {{#switch:{{{rockm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{rock|0}}} }}
! Time limit
| style="background: #e6e9ff;" | '''World record''' || style="padding-right: 8px;" | {{{wr|?}}}
| {{{time}}}
|-
|-
| style="background: #e6e9ff;" | '''[[Winged Pikmin]]''' || {{#if:{{{wingedm|}}} | {{tt|{{{winged|0}}} | {{#switch:{{{wingedm}}}|l=Leaf|b=Bud|f=Flower}} }} | {{{winged|0}}} }}
! [[Music]]
| style="background: #e6e9ff;" | '''Co-Op world record''' || style="padding-right: 8px;" | {{{coopwr|?}}}  
| ''{{{music}}}''
|}<includeonly>[[Category:Challenge Mode levels]]</includeonly><noinclude>
|}<includeonly>{{#if:{{{noicons|}}}||{{game icons|pikmin3=y}}}} [[Category:Mission Mode levels]]</includeonly><noinclude>


{{clear}}
{{clear}}
==Info==
==Info==
Place this template at the top of [[Mission Mode]] level articles. This creates an information box with data about the level.
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.


Articles with this template are automatically categorized under [[:Category:Challenge Mode levels]].
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==
==Parameters==
Line 45: Line 78:
|-
|-
! be
! be
| No ||  || If this infobox is for a Battle Enemies! stage, give this a value like "y". Otherwise, Collect Treasure! is assumed.
| No ||  || If this infobox is for a Battle enemies! stage, give this a value like "y". Otherwise, Collect treasure! is assumed.
|-
|-
! screenshot
! screenshot
| '''Yes''' ||  || Image title of the stage screenshot, including extension.
| No ||  || Image title of the stage screenshot, including extension.
|-
|-
! map
! map
Line 57: Line 90:
|-
|-
! red
! red
| No || 0 || Number of red Pikmin, or for enemy, yes/no for availability.
| No || || Number of starting Red Pikmin.
|-
|-
! purple
! rock
| No || 0 || Same as above, but purple Pikmin.
| No || || Same as above, but Rock Pikmin.
|-
|-
! white
! yellow
| No || 0 || Same as above, but white Pikmin.
| No || || Same as above, but Yellow Pikmin.
|-
|-
! yellow
! winged
| No || 0 || Same as above, but yellow Pikmin.
| No || || Same as above, but Winged Pikmin.
|-
|-
! blue
! blue
| No || 0 || Same as above, but blue Pikmin.
| No || || Same as above, but Blue Pikmin.
|-
|-
! rock
! purple
| No || 0 || Same as above, but rock Pikmin.
| No || || Same as above, but Purple Pikmin.
|-
|-
! winged
! white
| No || 0 || Same as above, but winged Pikmin.
| No || || Same as above, but White Pikmin.
|-
|-
! redm
! redcb
| No ||  || Red Pikmin maturity: "l"eaf, "b"lue or "f"lower. Omit if no Red Pikmin.
| No ||  || Number of Red [[Candypop Bud]]s, if any.
|-
|-
! purplem
! rockcb
| No ||  || Same as above, but purple Pikmin.
| No ||  || Same as above, but Rock [[Candypop Bud]]s.
|-
|-
! whitem
! yellowcb
| No ||  || Same as above, but white Pikmin.
| No ||  || Same as above, but Yellow [[Candypop Bud]]s.
|-
|-
! yellowm
! wingedcb
| No ||  || Same as above, but yellow Pikmin.
| No ||  || Same as above, but Winged [[Candypop Bud]]s.
|-
|-
! bluem
! bluecb
| No ||  || Same as above, but blue Pikmin.
| No ||  || Same as above, but Blue [[Candypop Bud]]s.
|-
|-
! rockm
! purplecb
| No ||  || Same as above, but rock Pikmin.
| No ||  || Same as above, but Purple [[Candypop Bud]]s.
|-
|-
! wingedm
! whitecb
| No ||  || Same as above, but winged Pikmin.
| No ||  || Same as above, but White [[Candypop Bud]]s.
|-
|-
! bronze
! bronze
Line 113: Line 146:
| '''Yes''' ||  || Time limit.
| '''Yes''' ||  || Time limit.
|-
|-
! wr
! music
| No || ? || World record for Single Player mode.
| '''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.
|-
! coopwr
| No || ? || World record for Co-Op mode.
|-
|-
! noicon
! noicon
Line 123: Line 153:
|}
|}


==Template==
==Skeleton==
<pre>
<pre>
{{infobox mission
{{infobox mission
Line 130: Line 160:
|map        =  
|map        =  
|size      =  
|size      =  
|caption    =
|red        =  
|red        =  
|redm       =  
|redcb      =
|rock       =
|rockcb    =
|yellow    =
|yellowcb  =
|winged    =
|wingedcb  =
|blue      =
|bluecb    =  
|purple    =  
|purple    =  
|purplem    =  
|purplecb  =  
|white      =  
|white      =  
|whitem    =
|whitecb   =  
|yellow    =
|yellowm    =
|blue      =
|bluem      =
|rock      =
|rockm      =
|winged    =
|wingedm   =  
|bronze    =  
|bronze    =  
|silver    =  
|silver    =  
Line 150: Line 179:
|platinum  =  
|platinum  =  
|time      =  
|time      =  
|wr        =
|coopwr    =
|noicons    =  
|noicons    =  
}}
}}
</pre>
</pre>


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