Template:Infobox area: Difference between revisions
Jump to navigation
Jump to search
(Added a section for the enemies that appear during sunset.) |
(Added map and screenshot toggler.) |
||
Line 2: | Line 2: | ||
! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}'' | ! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}'' | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | [[ | | colspan="2" style="text-align: center;" | {{#if:{{{screenshot|}}}|<div class="switchable"> | ||
<div class="switch" title="Screenshot"> | |||
[[File:{{{screenshot}}}|{{{size|250px}}}]] | |||
</div> | |||
<div class="switch" title="Map"> | |||
[[File:{{{map}}}|{{{size|250px}}}]] | |||
</div> | |||
</div> | [[File:{{{image|{{{map}}}}}}|{{{size|250px}}}]]}} | |||
|- | |||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | ||
Line 44: | Line 52: | ||
{| class = "wikitable" | {| class = "wikitable" | ||
! Parameter || Mandatory || Default || Detailed description | ! Parameter || Mandatory || Default || Detailed description | ||
|- | |||
! screenshot | |||
| No || || Image name of an in-game screenshot on the area. with extension. | |||
|- | |||
! map | |||
| No || || Image name of the area's map, with extension. | |||
|- | |- | ||
! image | ! image | ||
| | | No || || Image name, with extension. Use the previous two, preferably. | ||
|- | |- | ||
! size | ! size | ||
Line 85: | Line 99: | ||
<pre> | <pre> | ||
{{infobox area | {{infobox area | ||
|screenshot = | |||
|map = | |||
|image = | |image = | ||
|size = | |size = |
Revision as of 07:58, December 18, 2014
Infobox area | |
---|---|
[[File:{{{map}}}|250px]] | |
Hazards | None |
Obstacles | None |
Requirements | None |
Info
Place this at the top of area articles. This will place an information box with data about the area.
Pages with this template are automatically categorized under Category:Areas.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
screenshot | No | Image name of an in-game screenshot on the area. with extension. | |
map | No | Image name of the area's map, with extension. | |
image | No | Image name, with extension. Use the previous two, preferably. | |
size | No | 250px | Image size. |
caption | No | Image caption, if needed. | |
parts | No | Number of ship parts. | |
treasures | No | Number of treasures (caves excluded). | |
fruits | No | Number of fruits. | |
caves | No | Number of caves. | |
hazards | No | None | Hazards (caves excluded). Use the hazard button templates for this. |
obstacles | No | None | Same as above, but obstacles, and their templates. |
pikmin | No | Pikmin types discovered here, caves included. | |
requirements | No | None | Requirements needed to access this area. |
sunsetenemies | No | The enemies that appear during the sunset cutscene. |
Template
{{infobox area |screenshot = |map = |image = |size = |caption = |parts = |treasures = |fruits = |caves = |hazards = |pikmin = |requirements = |sunsetenemies = }}