Template:Infobox area: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Text replacement - "]] </noinclude>" to "]]</noinclude>")
(Removed the Hazards row. Hazard icons come from caves in Pikmin 2, and while they make sense in cave infoboxes because they're specified in-game, putting them in area infoboxes makes less sense. It can be difficult to define what counts as a hazard, and it's not especially useful for players since most hazards are present in most areas.)
Line 25: Line 25:
{{#if:{{{caves|}}}|! [[Cave]]s
{{#if:{{{caves|}}}|! [[Cave]]s
{{!}} {{{caves}}} ([[#Caves|list]]) }}
{{!}} {{{caves}}} ([[#Caves|list]]) }}
|-
! [[Hazard]]s
| {{{hazards|None}}}
|-
|-
! [[Obstacle]]s
! [[Obstacle]]s
Line 94: Line 91:
! obstacles
! obstacles
| No || None || Obstacles (caves excluded). Use the [[:Category:Obstacle button templates|obstacle button templates]] for this.
| No || None || Obstacles (caves excluded). Use the [[:Category:Obstacle button templates|obstacle button templates]] for this.
|-
! hazards
| No || None || Hazards (caves excluded). Use the [[:Category:Hazard button templates|hazard button templates]] for this.
|-
! obstacles
| No || None || Same as above, but obstacles, and their [[:Category:Obstacle button templates|templates]].
|-
|-
! pikmin
! pikmin
Line 132: Line 123:
|caves            =  
|caves            =  
|obstacles        =  
|obstacles        =  
|hazards          =
|pikmin            =  
|pikmin            =  
|pikmin_discovered =  
|pikmin_discovered =  

Revision as of 15:55, January 20, 2021

Infobox area
[[File:{{{map}}}|250px]]
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.
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         = 
|pikmin            = 
|pikmin_discovered = 
|requirements      = 
|next              = 
|music             = 
}}