Pikmin 2 icon.png

Template:Infobox cave: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Better image.)
(New documentation style.)
Line 14: Line 14:
|-
|-
! style="background: #e6e9ff;" | [[Treasure]]s
! style="background: #e6e9ff;" | [[Treasure]]s
| {{{treasures}}} ([[#Treasures|list]])
| {{{treasures}}}
|-
|-
! style="background: #e6e9ff; vertical-align: middle;" | [[Hazard]]s
! style="background: #e6e9ff; vertical-align: middle;" | [[Hazard]]s
Line 22: Line 22:
| {{{obstacles|None}}}
| {{{obstacles|None}}}
|}<includeonly>[[Category:Caves]]</includeonly><noinclude>
|}<includeonly>[[Category:Caves]]</includeonly><noinclude>
[[Category:Infobox templates|{{PAGENAME}}]]


==Use==
==Info==
<pre>{{infobox cave
Place this at the top of [[cave]] articles. It places an information box with data about the cave.
|image    = image name with extension
 
|size     = image size (optional)
Articles with this template are automatically categorized under [[:Category:Caves]].
|caption   = image caption (optional)
 
|location  = cave location
==Parameters==
|sublevels = number of sublevels
{| class = "wikitable"
|treasures = treasures in cave
! Parameter || Mandatory || Default || Detailed description
|hazards   = hazards in cave
|-
|obstacles = obstacles (plugged entrances, clogged holes/geysers, high areas, etc.)
! image
|noicons   = whether to disable display of game icons (to avoid conflicts with other templates)
| No || Cave.png || Image name, with extension.
}}</pre></noinclude>
|-
! 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 [[:Category:Hazard button templates|hazard button templates]] for this.
|-
! obstacles
| No || None || Same as above, but obstacles, and their [[:Category:Obstacle button templates|templates]].
|-
! noicons
| No ||  || Whether to disable display of game icons (to avoid conflicts with other templates).
|}
 
==Template==
<pre>
{{infobox cave
|image    =
|size      =
|caption  =
|location  =
|sublevels =
|treasures =
|hazards  =
|obstacles =
|noicons  =
}}
</pre>
 
[[Category:Infobox templates]]
</noinclude>

Revision as of 12:09, October 20, 2014

Infobox cave
The entrance to a 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).

Template

{{infobox cave
|image     = 
|size      = 
|caption   = 
|location  = 
|sublevels = 
|treasures = 
|hazards   = 
|obstacles = 
|noicons   = 
}}