Template:Infobox cave: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "]] </noinclude>" to "]]</noinclude>") |
m (Text replacement - "{|class=" to "{| class=") |
||
Line 1: | Line 1: | ||
{{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}} | {{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}} | ||
{|class="infobox" | {| class="infobox" | ||
! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}'' | ! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}'' | ||
|- | |- |
Revision as of 08:54, September 14, 2022
Infobox cave | |
---|---|
Location | [[{{{location}}}]] |
Sublevels | {{{sublevels}}} |
Treasures | {{{treasures}}} |
Hazards | None |
Obstacles | None |
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 on. | |
sublevels | Yes | How many sublevels it has. | |
treasures | Yes | Number of treasures in the cave. | |
hazards | No | None | Hazards in the cave. Use the hazard button templates for this. |
obstacles | No | None | Same as above, but obstacles, and their templates. |
noicons | No | Whether to disable display of game icons (to avoid conflicts with other templates). |
Skeleton
{{infobox cave |image = |size = |caption = |location = |sublevels = |treasures = |hazards = |obstacles = |noicons = }}