Template:Object infobox: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (Reverted edits by Thestickman391 (talk) to last revision by JoshDuMan) |
||
Line 4: | Line 4: | ||
|align="center" colspan="2" | {{{image|}}} | |align="center" colspan="2" | {{{image|}}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{ | {{#if:{{{hitbox|}}}|{{!}}- style="vertical-align: top;" | ||
{{!}} ''' | {{!}} '''Hitbox''' | ||
{{!}} {{{ | {{!}} {{{hitbox}}} | ||
|}} | |}} | ||
{{#if:{{{ | |- style="vertical-align: top" | ||
{{!}} ''' | {{#if:{{{damage|}}}|{{!}}- style="vertical-align:top" | ||
{{!}} {{{ | {{!}} '''Damage''' | ||
{{!}} {{{damage}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{speed|}}}|{{!}}- style="vertical-align:top" | |||
{{!}} '''Speed''' | |||
{{!}} style="width:17em" {{!}} {{{speed}}} | |||
|}} | |}} | ||
{{#if:{{{ | |- style="vertical-align: top" | ||
{{!}} ''' | {{#if:{{{tangibility_radius|}}}|{{!}}- style="vertical-align:top" | ||
{{!}} {{{ | {{!}} '''Tangibility radius''' | ||
{{!}} {{{tangibility_radius}}} | |||
|}} | |}} | ||
{{#if:{{{ | |- style="vertical-align: top" | ||
{{!}} ''' | {{#if:{{{interaction_type|}}}|{{!}}- style="vertical-align:top" | ||
{{!}} {{{ | {{!}} '''Interaction type''' | ||
{{!}} {{{interaction_type}}} | |||
|}} | |}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{surfaces|}}}|{{!}}- style="vertical-align:top" | |||
{{!}} '''Surfaces''' | |||
{{!}} {{{surfaces}}} | |||
|}} | |||
|- style="vertical-align: top" | |||
{{#if:{{{related|}}}| | |||
{{!}} colspan="2" style="padding:0" {{!}} | {{!}} colspan="2" style="padding:0" {{!}} | ||
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background:ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0" | {{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background:ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0" | ||
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} | ! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Related | ||
{{!}}- | {{!}}- | ||
{{!}} style=" | {{!}} style="padding:0 2px;" {{!}} {{{related|}}} | ||
{{!}}} | {{!}}} | ||
|}} | |}} | ||
|- style="vertical-align: top" | |- style="vertical-align: top" | ||
{{#if:{{{found_in|}}}| | |||
{{!}} colspan="2" style="padding:0" {{!}} | {{!}} colspan="2" style="padding:0" {{!}} | ||
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0" | {{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0" | ||
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Found In | ! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Found In | ||
{{!}}- | {{!}}- | ||
{{!}} | {{!}} style="padding:0 2px;" {{!}} {{{found_in}}} | ||
{{!}}} | {{!}}} | ||
|}} | |}} |
Revision as of 02:33, 10 June 2018
{{object_infobox |title= |image= |hitbox= |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 – should include stats like height, radius, and down offset
- damage – how much damage the object deals on contact with Mario
- 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).