Template:Object infobox: Difference between revisions
Jump to navigation
Jump to search
m (more syntax) |
(Add links) |
||
Line 5: | Line 5: | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{hitbox_radius|}}}|{{!}}- style="vertical-align: top;" | {{#if:{{{hitbox_radius|}}}|{{!}}- style="vertical-align: top;" | ||
{{!}} '''Hitbox''' | {{!}} '''[[Hitbox]]''' | ||
{{!}} | {{!}} | ||
{{#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}} | {{#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}} | ||
Line 12: | Line 12: | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{damage|}}}|{{!}}- style="vertical-align:top" | {{#if:{{{damage|}}}|{{!}}- style="vertical-align:top" | ||
{{!}} '''Damage''' | {{!}} '''[[HP|Damage]]''' | ||
{{!}} {{{damage}}} | {{!}} {{{damage}}} | ||
|}} | |}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{damage_hatless|}}}|{{!}}- style="vertical-align:top" | {{#if:{{{damage_hatless|}}}|{{!}}- style="vertical-align:top" | ||
{{!}} '''Damage without hat''' | {{!}} '''[[Hat|Damage without hat]]''' | ||
{{!}} {{{damage_hatless}}} | {{!}} {{{damage_hatless}}} | ||
|}} | |}} | ||
Line 27: | Line 27: | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{tangibility_radius|}}}|{{!}}- style="vertical-align:top" | {{#if:{{{tangibility_radius|}}}|{{!}}- style="vertical-align:top" | ||
{{!}} '''Tangibility radius''' | {{!}} '''[[Tangibility Radius|Tangibility radius]]''' | ||
{{!}} {{{tangibility_radius}}} | {{!}} {{{tangibility_radius}}} | ||
|}} | |}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{interaction_type|}}}|{{!}}- style="vertical-align:top" | {{#if:{{{interaction_type|}}}|{{!}}- style="vertical-align:top" | ||
{{!}} '''Interaction type''' | {{!}} '''[[Interaction Type|Interaction type]]''' | ||
{{!}} {{{interaction_type}}} | {{!}} {{{interaction_type}}} | ||
|}} | |}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{surfaces|}}}|{{!}}- style="vertical-align:top" | {{#if:{{{surfaces|}}}|{{!}}- style="vertical-align:top" | ||
{{!}} ''' | {{!}} '''[[Surface]]s''' | ||
{{!}} {{{surfaces}}} | {{!}} {{{surfaces}}} | ||
|}} | |}} |
Revision as of 12:11, 20 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).