Template:Infobox area: Difference between revisions
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;" {{ | {{#if:{{{pikmin|}}}|! style="background: #e6e9ff;" {{!}} [[Pikmin family|Pikmin]] discovered | ||
{{ | {{!}} {{{pikmin}}} | ||
{{ | {{!}}-}} | ||
! style="background: #e6e9ff;" | Requirements | |||
| {{{requirements|None}}} | |||
|}<includeonly>[[Category:Areas]]</includeonly><noinclude> | |}<includeonly>[[Category:Areas]]</includeonly><noinclude> | ||
== | ==Info== | ||
Place this at the top of [[area]] articles. This will place an information box with data about the area. | |||
| | |||
|size | Pages with this template are automatically categorized under [[:Category:Areas]]. | ||
|caption | |||
|parts | ==Parameters== | ||
|treasures | {| class = "wikitable" | ||
|fruits | ! Parameter || Mandatory || Default || Detailed description | ||
|caves | |- | ||
|hazards | ! image | ||
| | | '''Yes''' || || Image name, with extension. | ||
|requirements = | |- | ||
}}</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 = }}