Template:Infobox cave: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Slight improvements to the documentation of the new parameter.)
(Added a parameter for wild Pikmin types that can be found in the cave.)
Line 26: Line 26:
{{#if:{{{suggested|}}}|! Suggested [[Pikmin family|Pikmin]]
{{#if:{{{suggested|}}}|! Suggested [[Pikmin family|Pikmin]]
{{!}} {{{suggested}}} }}
{{!}} {{{suggested}}} }}
|-
{{#if:{{{wild|}}}|! Wild Pikmin
{{!}} {{{wild}}} }}
|}<includeonly>[[Category:Caves]]</includeonly><noinclude>
|}<includeonly>[[Category:Caves]]</includeonly><noinclude>


Line 67: Line 70:
! suggested
! suggested
| No ||  || Suggested Pikmin to be brought into the cave. Only for {{p4}}.
| No ||  || Suggested Pikmin to be brought into the cave. Only for {{p4}}.
|-
! wild
| No ||  || Wild Pikmin types that can be found in the cave. Only for {{p4}}.
|}
|}


Line 82: Line 88:
|hazards  =  
|hazards  =  
|suggested =  
|suggested =  
|wild      =
}}
}}
</pre>
</pre>


[[Category:Information boxes]]</noinclude>
[[Category:Information boxes]]</noinclude>

Revision as of 23:04, November 28, 2023

Infobox cave
The entrance to a 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. Only for Pikmin 2.
suggested No Suggested Pikmin to be brought into the cave. Only for Pikmin 4.
wild No Wild Pikmin types that can be found in the cave. Only for Pikmin 4.

Skeleton

{{infobox cave
|image     = 
|size      = 
|caption   = 
|location  = 
|sublevels = 
|rescues   = 
|treasures = 
|onions    = 
|hazards   = 
|suggested = 
|wild      = 
}}