Template:Infobox cave: Difference between revisions

Added a parameter for wild Pikmin types that can be found in the cave.
No edit summary
(Added a parameter for wild Pikmin types that can be found in the cave.)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}}
{| class="infobox"
{|class="infobox"
! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}''
! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}''
|-
|-
| colspan="2" style="text-align: center;" | [[File:{{{image|Cave.png}}}|{{{size|{{#if:{{{image|}}}|300|180}}px}}}]]
| colspan="2" style="text-align: center;" | [[File:{{{image|Cave.png}}}|{{{size|{{#if:{{{image|}}}|300|180}}px}}}]]
|-
|-
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}}
{{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }}
{{!}}- }}
|-
! style="width:30%" | Location
! style="width:30%" | Location
| [[{{{location}}}]]
| [[{{{location}}}]]
Line 12: Line 11:
! Sublevels
! Sublevels
| {{{sublevels}}}
| {{{sublevels}}}
|-
{{#if:{{{rescues|}}}|! Rescues
{{!}} {{{rescues}}} }}
|-
|-
! [[Treasure]]s
! [[Treasure]]s
| {{{treasures}}}
| {{{treasures}}}
|-
|-
! [[Hazard]]s
{{#if:{{{onions|}}}|! [[Onion]]s
| {{{hazards|None}}}
{{!}} {{{onions}}} }}
|-
{{#if:{{{hazards|}}}|! [[Hazard]]s
{{!}} {{{hazards}}} }}
|-
{{#if:{{{suggested|}}}|! Suggested [[Pikmin family|Pikmin]]
{{!}} {{{suggested}}} }}
|-
|-
! [[Obstacle]]s
{{#if:{{{wild|}}}|! Wild Pikmin
| {{{obstacles|None}}}
{{!}} {{{wild}}} }}
|}<includeonly>[[Category:Caves]]</includeonly><noinclude>
|}<includeonly>[[Category:Caves]]</includeonly><noinclude>


Line 43: Line 51:
|-
|-
! location
! location
| '''Yes''' ||  || [[Area]] the cave is on.
| '''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 || None || Hazards in the cave. Use the [[:Category:Hazard button templates|hazard button templates]] for this.
| No || || Hazards in the cave. Use the [[:Category:Hazard button templates|hazard button templates]] for this. Only for {{p2}}.
|-
|-
! obstacles
! suggested
| No || None || Same as above, but obstacles, and their [[:Category:Obstacle button templates|templates]].
| No || || Suggested Pikmin to be brought into the cave. Only for {{p4}}.
|-
|-
! noicons
! wild
| No ||  || Whether to disable display of game icons (to avoid conflicts with other templates).
| No ||  || Wild Pikmin types that can be found in the cave. Only for {{p4}}.
|}
|}


==Template==
==Skeleton==
<pre>
<pre>
{{infobox cave
{{infobox cave
Line 69: Line 83:
|location  =  
|location  =  
|sublevels =  
|sublevels =  
|rescues  =
|treasures =  
|treasures =  
|onions    =
|hazards  =  
|hazards  =  
|obstacles =  
|suggested =  
|noicons  =  
|wild      =  
}}
}}
</pre>
</pre>


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