Template:Infobox mission: Difference between revisions

m
Correct capitalization.
m (Correct capitalization.)
m (Correct capitalization.)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin3=y}}}}
{{#if:{{{noicons|}}}||{{game icons|pikmin3=y}}}}
{|class="infobox"
{|class="infobox"
! colspan="4" class="infoboxTitle" | ''{{PAGENAME}}''<br><span style="font-size: 70%;">''{{#if:{{{be|}}}|Battle Enemies!|Collect treasure!}}''</span>
! colspan="4" class="infoboxTitle" | ''{{PAGENAME}}''<br><span style="font-size: 70%;">''{{#if:{{{be|}}}|Battle enemies!|Collect treasure!}}''</span>
|-
|-
| colspan="4" style="text-align: center;" | {{#if:{{{screenshot|}}}|<div class="switchable">
| colspan="4" style="text-align: center;" | {{#if:{{{screenshot|}}}|<div class="switchable">
Line 50: Line 50:
{{clear}}
{{clear}}
==Info==
==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 different depending on whether it's a Collect treasure! or a Battle Enemies! 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 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.
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.
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 categorized under [[:Category:Challenge Mode levels]].
Articles with this template are automatically categorized under [[:Category:Challenge Mode levels]].
Line 63: Line 63:
|-
|-
! 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