Template:Object infobox: Difference between revisions

m
more syntax
m (syntax things)
m (more syntax)
Line 7: Line 7:
{{!}} '''Hitbox'''
{{!}} '''Hitbox'''
{{!}}
{{!}}
{{#switch: {{{hitbox_radius}}}
{{#switch: {{{hitbox_radius}}} | N/A = No collision with Mario | surface = Collision involves triangles instead of a cylindrical hitbox | cylinder with radius of {{{hitbox_radius}}} and height of {{{hitbox_height}}}{{#if: {{{hitbox_down|}}}|, offset down {{{hitbox_down}}} units|, not offset down}}
| N/A = No collision with Mario
| surface = Collision involves triangles instead of a cylindrical hitbox
| cylinder with radius of {{{hitbox_radius}}} and height of {{{hitbox_height}}}{{#if: {{{hitbox_down|}}}|, offset down {{{hitbox_down}}} units|, not offset down}}
}}
}}
|}}
|}}