Template:Infobox area: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Updated for Hey! Pikmin.) |
||
Line 1: | Line 1: | ||
{|class="infobox" | {|class="infobox" | ||
! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}'' | ! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}''{{#if:{{{sector|}}}|<br>[[Sector#{{{sector}}}|Sector {{{sector}}}]] – area {{area_letter}}}} | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | {{#if:{{{screenshot|}}}|<div class="switchable"> | | colspan="2" style="text-align: center;" | {{#if:{{{screenshot|}}}|<div class="switchable"> | ||
Line 32: | Line 32: | ||
| {{{obstacles|None}}} | | {{{obstacles|None}}} | ||
|- | |- | ||
{{#if:{{{pikmin|}}}|! [[Pikmin family|Pikmin]] | {{#if:{{{pikmin|}}}|! [[Pikmin family|Pikmin]] available | ||
{{!}} {{{pikmin}}} }} | {{!}} {{{pikmin}}} }} | ||
|- | |||
{{#if:{{{pikmin_discovered|}}}|! [[Pikmin family|Pikmin]] discovered | |||
{{!}} {{{pikmin_discovered}}} }} | |||
|- | |- | ||
! Requirements | ! Requirements | ||
Line 67: | Line 70: | ||
! caption | ! caption | ||
| No || || Image caption, if needed. | | No || || Image caption, if needed. | ||
|- | |||
! sector | |||
| No || || If this is an area in {{hp}}, specify the sector number here. | |||
|- | |||
! area_letter | |||
| No || || If this is an area in ''Hey! Pikmin'', specify the area letter here. | |||
|- | |- | ||
! parts | ! parts | ||
Line 90: | Line 99: | ||
|- | |- | ||
! pikmin | ! pikmin | ||
| No || || Pikmin types available here. | |||
|- | |||
! pikmin_discovered | |||
| No || || Pikmin types discovered here, caves included. | | No || || Pikmin types discovered here, caves included. | ||
|- | |- | ||
Line 102: | Line 114: | ||
<pre> | <pre> | ||
{{infobox area | {{infobox area | ||
|screenshot | |screenshot = | ||
|map | |map = | ||
|image | |image = | ||
|size | |size = | ||
|caption = | |caption = | ||
|parts | |sector = | ||
|treasures | |area_letter = | ||
|fruits | |parts = | ||
|caves | |treasures = | ||
|obstacles | |fruits = | ||
|hazards | |caves = | ||
|pikmin | |obstacles = | ||
|requirements | |hazards = | ||
|music | |pikmin = | ||
|pikmin_discovered = | |||
|requirements = | |||
|music = | |||
}} | }} | ||
</pre> | </pre> |
Revision as of 12:58, July 30, 2017
Infobox area | |
---|---|
[[File:{{{map}}}|250px]] | |
Hazards | None |
Obstacles | None |
Requirements | None |
Music | {{{music}}} |
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. | |
sector | No | If this is an area in Hey! Pikmin, specify the sector number here. | |
area_letter | No | If this is an area in Hey! Pikmin, specify the area letter here. | |
parts | No | Number of ship parts. | |
treasures | No | Number of treasures (caves excluded). | |
fruits | No | Number of fruits. | |
caves | No | Number of caves. | |
obstacles | No | None | Obstacles (caves excluded). Use the obstacle button templates for this. |
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 available here. | |
pikmin_discovered | No | Pikmin types discovered here, caves included. | |
requirements | No | None | Requirements needed to access this area. |
music | Yes | Name of the song that plays here, linking to the corresponding section on a music article. |
Skeleton
{{infobox area |screenshot = |map = |image = |size = |caption = |sector = |area_letter = |parts = |treasures = |fruits = |caves = |obstacles = |hazards = |pikmin = |pikmin_discovered = |requirements = |music = }}