Template:Infobox cave: Difference between revisions
Jump to navigation
Jump to search
(Removed the Obstacles row, following the discussion at Talk:Obstacle.) |
(Added support for the necessary Pikmin 4 parameters.) |
||
Line 11: | Line 11: | ||
! Sublevels | ! Sublevels | ||
| {{{sublevels}}} | | {{{sublevels}}} | ||
|- | |||
{{#if:{{{rescues|}}}|! Rescues | |||
{{!}} {{{rescues}}} }} | |||
|- | |- | ||
! [[Treasure]]s | ! [[Treasure]]s | ||
| {{{treasures}}} | | {{{treasures}}} | ||
|- | |- | ||
! [[ | {{#if:{{{onions|}}}|! [[Onion]]s | ||
{{!}} {{{onions}}} }} | |||
| | |- | ||
{{#if:{{{hazards|}}}|! [[Hazard]]s | |||
{{!}} {{{hazards}}} }} | |||
|}<includeonly>[[Category:Caves]]</includeonly><noinclude> | |||
{{clear}} | {{clear}} | ||
Line 39: | Line 45: | ||
|- | |- | ||
! location | ! location | ||
| '''Yes''' || || [[Area]] the cave is | | '''Yes''' || || [[Area]] the cave is in. | ||
|- | |- | ||
! sublevels | ! sublevels | ||
| '''Yes''' || || How many sublevels it has. | | '''Yes''' || || How many sublevels it has. | ||
|- | |||
! rescues | |||
| No || || Number of rescues in the cave. | |||
|- | |- | ||
! treasures | ! treasures | ||
| '''Yes''' || || Number of treasures in the cave. | | '''Yes''' || || Number of treasures in the cave. | ||
|- | |||
! onions | |||
| No || || Number of onions in the cave. | |||
|- | |- | ||
! hazards | ! hazards | ||
| No || | | No || || Hazards in the cave. Use the [[:Category:Hazard button templates|hazard button templates]] for this. | ||
|} | |} | ||
Line 62: | Line 71: | ||
|location = | |location = | ||
|sublevels = | |sublevels = | ||
|rescues = | |||
|treasures = | |treasures = | ||
|onions = | |||
|hazards = | |hazards = | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Information boxes]]</noinclude> | [[Category:Information boxes]]</noinclude> |
Revision as of 17:55, June 30, 2023
Infobox cave | |
---|---|
Location | [[{{{location}}}]] |
Sublevels | {{{sublevels}}} |
Treasures | {{{treasures}}} |
Info
Place this at the top of cave articles. It places an information box with data about the cave.
Articles with this template are automatically categorized under Category:Caves.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
image | No | Cave.png | Image name, with extension. |
size | No | 300px | Image size. |
caption | No | Image caption, if needed. | |
location | Yes | Area the cave is in. | |
sublevels | Yes | How many sublevels it has. | |
rescues | No | Number of rescues in the cave. | |
treasures | Yes | Number of treasures in the cave. | |
onions | No | Number of onions in the cave. | |
hazards | No | Hazards in the cave. Use the hazard button templates for this. |
Skeleton
{{infobox cave |image = |size = |caption = |location = |sublevels = |rescues = |treasures = |onions = |hazards = }}