Template:Object infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(Undo revision 5772 by JoshDuMan (talk) OH GOD)
mNo edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 4: Line 4:
{{!}}-  
{{!}}-  
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}}]]
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}}]]
}}
|-
{{#if: {{{gallery|}}} |
{{!}}-
{{!}} colspan=2 style="text-align:center;" {{!}} {{{gallery}}}
}}
}}
|-
|-
Line 9: Line 14:
|}}
|}}
|-
|-
{{#if:{{{hitbox_type|}}}|{{!}}-
{{!}} '''[[Hitbox]]'''
{{!}} '''[[Hitbox]]'''
{{!}}
{{!}}
Line 15: Line 19:
| N/A = No collision with Mario  
| N/A = No collision with Mario  
| surface = Collision involves triangles instead of a cylindrical hitbox  
| surface = Collision involves triangles instead of a cylindrical hitbox  
| cylinder = cylinder with radius of {{{hitbox_radius}}} and height of {{{hitbox_height}}}{{#if: {{{hitbox_down|}}}|, offset down {{{hitbox_down}}} units|, not offset down}}
| cylinder = cylinder with radius of {{{hitbox_radius}}} and height of {{{hitbox_height}}}{{#if: {{{hitbox_down|}}}|, offset down {{{hitbox_down}}} units|, not offset down
| cylinder with radius of {{{hitbox_radius}}} and height of {{{hitbox_height}}}{{#if: {{{hitbox_down|}}}|, offset down {{{hitbox_down}}} units|, not offset down}}
}}
}}
|}}
|}}
Line 37: Line 42:
{{#if:{{{interaction_type|}}}|
{{#if:{{{interaction_type|}}}|
{{!}} '''[[Interaction Type|Interaction type]]'''  
{{!}} '''[[Interaction Type|Interaction type]]'''  
{{!!}} [[Interaction Type#{{{interaction_type}}}|{{{interaction_type}}}]]
{{!!}}   {{#ifeq: None | {{{interaction_type}}} | {{{interaction_type}}} | [[Interaction Type#{{{interaction_type}}}|{{{interaction_type}}}]]}}
{{!}}-}}
{{!}}-}}
|-  
|-  
Line 95: Line 100:
}}</pre></div>
}}</pre></div>
*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.
*gallery &ndash; a <code><gallery></code> tag
*title &ndash; default pagename, just in case can be changed
*title &ndash; default pagename, just in case can be changed
*hitbox_type &ndash; Set to N/A for no collision, surface for objects with surfaces, or cylinder for cylindrical hitboxes.
*hitbox_type &ndash; Set to N/A for no collision, surface for objects with surfaces, or cylinder for cylindrical hitboxes.

Latest revision as of 20:22, 20 November 2020


Yellow Coin
Yellow Coin.gif
Hitbox Info
Hitbox

cylinder with radius of 100 and height of 64, offset down 0 units

Speed Dependent on RNG. Varies based on how it was spawned.
Tangibility radius 1000
Interaction type Coin
Related
Red Coins
Blue Coins
Found In
All courses, The Castle
{{object_infobox
|title=
|image=
|hitbox_type=
|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.
  • gallery – a <gallery> tag
  • title – default pagename, just in case can be changed
  • hitbox_type – Set to N/A for no collision, surface for objects with surfaces, or cylinder for cylindrical hitboxes.
  • 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).