Template:Object infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(Created the object infobox template for people to use)
 
No edit summary
Line 14: Line 14:
|}}
|}}
|- style="vertical-align: top"  
|- style="vertical-align: top"  
{{#if:{{{speed|}}}|{{!}}- style="background:#c5ced6; vertical-align: top;"
{{#if:{{{speed|}}}|{{!}}- style="vertical-align:top"
{{!}} '''Speed'''
{{!}} '''Speed'''
{{!}} style="width:17em" {{!}} {{{speed}}}
{{!}} style="width:17em" {{!}} {{{speed}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{tangibility_radius|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{tangibility_radius|}}}|{{!}}- style="background:#c5ced6; vertical-align:top"
{{!}} '''Tangibility radius'''
{{!}} '''Tangibility radius'''
{{!}} {{{tangibility_radius}}}
{{!}} {{{tangibility_radius}}}
Line 29: Line 29:
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{surfaces|}}}|{{!}}- style="vertical-align:top"
{{#if:{{{surfaces|}}}|{{!}}- style="background:#c5ced6; vertical-align:top"
{{!}} '''Surfaces'''
{{!}} '''Surfaces'''
{{!}} {{{surfaces}}}
{{!}} {{{surfaces}}}
Line 51: Line 51:
{{!}}}
{{!}}}
|}}
|}}
|}</includeonly><noinclude><div style="float:right"><pre>{{object-infobox
|}</includeonly><noinclude><div style="float:right"><pre>{{object_infobox
|title=
|title=
|image=
|image=

Revision as of 00:48, 9 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).