Template:Infobox area: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
m (Oh crap, I misread!)
(New documentation style.)
Line 24: Line 24:
| {{{obstacles|None}}}
| {{{obstacles|None}}}
|-
|-
{{#if:{{{pikmin|}}}|! style="background: #e6e9ff;" {{Pipe}} [[Pikmin family|Pikmin]] discovered
{{#if:{{{pikmin|}}}|! style="background: #e6e9ff;" {{!}} [[Pikmin family|Pikmin]] discovered
{{Pipe}} {{{pikmin}}}
{{!}} {{{pikmin}}}
{{Pipe}}-}}
{{!}}-}}
{{#if:{{{requirements|}}}|! style="background: #e6e9ff;" {{Pipe}} Requirements
! style="background: #e6e9ff;" | Requirements
{{Pipe}} {{{requirements}}} }}
| {{{requirements|None}}}
|}<includeonly>[[Category:Areas]]</includeonly><noinclude>
|}<includeonly>[[Category:Areas]]</includeonly><noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]


==Use==
==Info==
<pre>{{infobox area
Place this at the top of [[area]] articles. This will place an information box with data about the area.
|image        = image name with extension
 
|size         = image size (optional)
Pages with this template are automatically categorized under [[:Category:Areas]].
|caption     = image caption (optional)
 
|parts       = number of ship parts
==Parameters==
|treasures   = number of treasures (caves excluded)
{| class = "wikitable"
|fruits       = number of fruits
! Parameter || Mandatory || Default || Detailed description
|caves       = number of caves
|-
|hazards     = hazards available above ground
! image
|pikmin      = the color(s) of Pikmin discovered in this area, including caves
| '''Yes''' ||  || Image name, with extension.
|requirements = number of ship parts required, or specific treasure required.
|-
}}</pre></noinclude>
! 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).
|-
! obstacles
| No || None || Obstacles (caves excluded).
|-
! pikmin
| No ||  || Pikmin types discovered here, caves included.
|-
! requirements
| No || None || Requirements needed to access this area.
|}
 
==Template==
<pre>
{{infobox area
|image        =
|size        =
|caption      =
|parts        =
|treasures    =
|fruits      =
|caves       =
|hazards      =
|pikmin      =
|requirements =  
}}
</pre>
 
[[Category:Infobox templates]]
</noinclude>

Revision as of 11:00, October 20, 2014

Infobox area
[[Image:{{{image}}}|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
image Yes Image name, with extension.
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).
obstacles No None Obstacles (caves excluded).
pikmin No Pikmin types discovered here, caves included.
requirements No None Requirements needed to access this area.

Template

{{infobox area
|image        = 
|size         = 
|caption      = 
|parts        = 
|treasures    = 
|fruits       = 
|caves        = 
|hazards      = 
|pikmin       = 
|requirements = 
}}