Template:Infobox area: Difference between revisions
Jump to navigation
Jump to search
(Added a field for the next area.) |
m (would this work?) |
||
Line 1: | Line 1: | ||
{|class="infobox" | {|class="infobox" | ||
! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}''{{#if:{{{sector|}}}|<br>[[Sector {{{sector}}}]] – Area {{{area_letter}}}}} | ! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}''{{#if:{{{sector|}}}|<br>[[Sector {{{sector}}}]] – Area {{{area_letter}}} – {{{sector}}}-{{{area_letter}}}}} | ||
|- | |- | ||
| colspan="2" style="text-align: center;" | {{#if:{{{screenshot|}}}|<div class="switchable"> | | colspan="2" style="text-align: center;" | {{#if:{{{screenshot|}}}|<div class="switchable"> |
Revision as of 04:58, January 15, 2018
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. |
next | No | Next area, or areas. | |
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 = |next = |music = }}