Template:Infobox area: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Style.) |
||
Line 1: | Line 1: | ||
{|class="infobox | {|class="infobox" | ||
! colspan="2" | ! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}'' | ||
|- | |- | ||
! colspan="2" style=" | ! colspan="2" style="text-align: center;" | [[Image:{{{image}}}|{{{size|250px}}}]] | ||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | ||
{{!}}- }} | {{!}}- }} | ||
{{#if:{{{parts|}}}|! | {{#if:{{{parts|}}}|! [[Ship part]]s | ||
{{ | {{!}} {{{parts}}} ([[#Ship parts|list]]) | ||
{{ | {{!}}-}} | ||
{{#if:{{{treasures|}}}|! | {{#if:{{{treasures|}}}|! [[Treasure]]s | ||
{{ | {{!}} {{{treasures}}} ([[#Treasures|list]]) | ||
{{ | {{!}}-}} | ||
{{#if:{{{fruits|}}}|! | {{#if:{{{fruits|}}}|! [[Fruit]]s | ||
{{ | {{!}} {{{fruits}}} ([[#Fruits|list]]) | ||
{{ | {{!}}-}} | ||
{{#if:{{{caves|}}}|! | {{#if:{{{caves|}}}|! [[Cave]]s | ||
{{ | {{!}} {{{caves}}} ([[#Caves|list]]) | ||
{{ | {{!}}-}} | ||
! style=" | ! style="vertical-align: middle;" | [[Hazard]]s | ||
| {{{hazards|None}}} | | {{{hazards|None}}} | ||
|- | |- | ||
! style=" | ! style="width: 30%; vertical-align: middle;" | [[Obstacle]]s | ||
| {{{obstacles|None}}} | | {{{obstacles|None}}} | ||
|- | |- | ||
{{#if:{{{pikmin|}}}|! | {{#if:{{{pikmin|}}}|! [[Pikmin family|Pikmin]] discovered | ||
{{!}} {{{pikmin}}} | {{!}} {{{pikmin}}} | ||
{{!}}-}} | {{!}}-}} | ||
! | ! Requirements | ||
| {{{requirements|None}}} | | {{{requirements|None}}} | ||
|}<includeonly>[[Category:Areas]]</includeonly><noinclude> | |}<includeonly>[[Category:Areas]]</includeonly><noinclude> |
Revision as of 11:48, November 11, 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). Use the hazard button templates for this. |
obstacles | No | None | Same as above, but obstacles, and their templates. |
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 = }}