Template:Infobox area: Difference between revisions
Jump to navigation
Jump to search
(Added music field.) |
(Made the link to the list of fruits not appear if there are 0.) |
||
Line 21: | Line 21: | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{fruits|}}}|! [[Fruit]]s | {{#if:{{{fruits|}}}|! [[Fruit]]s | ||
{{!}} {{{fruits}}} ([[#Fruits|list]]) | {{!}} {{{fruits}}}{{#ifeq:{{{fruits}}}|0|| ([[#Fruits|list]])}} | ||
{{!}}-}} | {{!}}-}} | ||
{{#if:{{{caves|}}}|! [[Cave]]s | {{#if:{{{caves|}}}|! [[Cave]]s |
Revision as of 05:12, September 4, 2015
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 = }}