Template:Infobox cave: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(Style.) |
||
Line 1: | Line 1: | ||
{{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}} | {{#if:{{{noicons|}}}||{{game icons|pikmin2=y}}}} | ||
{|class="infobox | {|class="infobox" | ||
! colspan="2" | ! colspan="2" class="infoboxTitle" | ''{{PAGENAME}}'' | ||
|- | |- | ||
| 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=" | ! style="width:30%" | Location | ||
| [[{{{location}}}]] | | [[{{{location}}}]] | ||
|- | |- | ||
! | ! Sublevels | ||
| {{{sublevels}}} | | {{{sublevels}}} | ||
|- | |- | ||
! | ! [[Treasure]]s | ||
| {{{treasures}}} | | {{{treasures}}} | ||
|- | |- | ||
! | ! [[Hazard]]s | ||
| {{{hazards|None}}} | | {{{hazards|None}}} | ||
|- | |- | ||
! | ! [[Obstacle]]s | ||
| {{{obstacles|None}}} | | {{{obstacles|None}}} | ||
|}<includeonly>[[Category:Caves]]</includeonly><noinclude> | |}<includeonly>[[Category:Caves]]</includeonly><noinclude> |
Revision as of 11:54, November 11, 2014
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). |
Template
{{infobox cave |image = |size = |caption = |location = |sublevels = |treasures = |hazards = |obstacles = |noicons = }}