Template:Object infobox: Difference between revisions
Jump to navigation
Jump to search
(Add links) |
(Fixing image things?) |
||
| Line 1: | Line 1: | ||
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black" | <includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align=right width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black" | ||
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>''' | | align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>''' | ||
|- | {{#if: {{{image|}}} | | ||
{{!}}- | |||
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image|}}}|300px|]] | |||
}} | |||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{hitbox_radius|}}}|{{!}}- style="vertical-align: top;" | {{#if:{{{hitbox_radius|}}}|{{!}}- style="vertical-align: top;" | ||
Revision as of 04:03, 28 October 2018
{{object_infobox
|title=
|image=
|hitbox_radius=
|hitbox_height=
|hitbox_down=
|damage=
|speed=
|tangibility_radius=
|interaction_type=
|surfaces=
|related=
|found_in=
|expand=
}}- image – an image. Must use
{{!}}for a|break symbol in image syntax. - title – default pagename, just in case can be changed
- hitbox_radius, hitbox_height, hitbox_down – stats like height, radius, and down offset. Set hitbox_radius to N/A to indicate no collision and to surface to indicate that the object uses triangles instead of a cylinder
- damage – how much damage the object deals on contact with Mario
- damage_hatless – how much damage the object deals if Mario doesn't have his hat
- tangibility_radius – tangibility radius of the object
- interaction_type – interaction type of the object
- surfaces – surfaces type of the object
- related – similar objects
- found_in – which course the object is found in.
- expand – for collapsing the "found in" and "related" lists when they are long. Activate this by writing "expandable" (it is "noexpandable" by default).