Template:Object infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
(boom and fixed)
Line 4: Line 4:
|align="center" colspan="2" | {{{image|}}}
|align="center" colspan="2" | {{{image|}}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{hitbox-down|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{hitbox_down|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Hitbox: ''' cylinder with radius {{{hitbox-radius}}} and height {{{hitbox-height}}} offset down {{{hitbox-down}}} units|}}
{{!}} '''Hitbox: ''' cylinder with radius of {{{hitbox_radius}}} and height of {{{hitbox_height}}}, offset down {{{hitbox_down}}} units|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{damage|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{damage|}}}|{{!}}- style="vertical-align:top"
Line 59: Line 59:
|title=
|title=
|image=
|image=
|hitbox=
|hitbox_radius=
|hitbox_height=
|hitbox_down=
|damage=
|damage=
|speed=
|speed=
Line 71: Line 73:
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*image &ndash; an image. Must use <code><nowiki>{{!}}</nowiki></code> for a <code>|</code> break symbol in image syntax.
*title &ndash; default pagename, just in case can be changed
*title &ndash; default pagename, just in case can be changed
*hitbox &ndash; should include stats like height, radius, and down offset
*hitbox_radius, hitbox_height, hitbox_down &ndash; stats like height, radius, and down offset
*damage &ndash; how much damage the object deals on contact with Mario
*damage &ndash; how much damage the object deals on contact with Mario
*damage_hatless &ndash; how much damage the object deals if Mario doesn't have his hat
*damage_hatless &ndash; how much damage the object deals if Mario doesn't have his hat

Revision as of 02:08, 30 September 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
  • 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).