Template:Infobox area: Difference between revisions
Jump to navigation
Jump to search
(Made the link to the list of fruits not appear if there are 0.) |
m (Simplifying template.) |
||
Line 12: | Line 12: | ||
|- | |- | ||
|- | |- | ||
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |||
{{#if:{{{parts|}}}|! [[Ship part]]s | {{#if:{{{parts|}}}|! [[Ship part]]s | ||
{{!}} {{{parts}}} ([[#Ship parts|list]]) | {{!}} {{{parts}}} ([[#Ship parts|list]]) }} | ||
|- | |||
{{#if:{{{treasures|}}}|! [[Treasure]]s | {{#if:{{{treasures|}}}|! [[Treasure]]s | ||
{{!}} {{{treasures}}} ([[#Treasures|list]]) | {{!}} {{{treasures}}} ([[#Treasures|list]]) }} | ||
|- | |||
{{#if:{{{fruits|}}}|! [[Fruit]]s | {{#if:{{{fruits|}}}|! [[Fruit]]s | ||
{{!}} {{{fruits}}}{{#ifeq:{{{fruits}}}|0|| ([[#Fruits|list]])}} | {{!}} {{{fruits}}}{{#ifeq:{{{fruits}}}|0|| ([[#Fruits|list]])}} }} | ||
|- | |||
{{#if:{{{caves|}}}|! [[Cave]]s | {{#if:{{{caves|}}}|! [[Cave]]s | ||
{{!}} {{{caves}}} ([[#Caves|list]]) | {{!}} {{{caves}}} ([[#Caves|list]]) }} | ||
|- | |||
! [[Hazard]]s | ! [[Hazard]]s | ||
| {{{hazards|None}}} | | {{{hazards|None}}} | ||
Line 33: | Line 33: | ||
|- | |- | ||
{{#if:{{{pikmin|}}}|! [[Pikmin family|Pikmin]] discovered | {{#if:{{{pikmin|}}}|! [[Pikmin family|Pikmin]] discovered | ||
{{!}} {{{pikmin}}} | {{!}} {{{pikmin}}} }} | ||
|- | |||
! Requirements | ! Requirements | ||
| {{{requirements|None}}} | | {{{requirements|None}}} | ||
|- | |- | ||
{{#if:{{{sunsetenemies|}}}|! [[Day#Sunset|Sunset]] cutscene enemies | {{#if:{{{sunsetenemies|}}}|! [[Day#Sunset|Sunset]] cutscene enemies | ||
{{!}} {{{sunsetenemies}}} | {{!}} {{{sunsetenemies}}} }} | ||
|- | |||
! Music | ! Music | ||
| {{{music}}} | | {{{music}}} |
Revision as of 04:42, June 6, 2016
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. | |
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. |
sunsetenemies | No | The enemies that appear during the sunset cutscene. | |
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 = |parts = |treasures = |fruits = |caves = |hazards = |pikmin = |requirements = |sunsetenemies = |music = }}