Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(While I must concede this looks sloppy, the new lines effected the outcome of the actual template.)
(If this is right, nothing should look different...)
Line 18: Line 18:
{{#if:{{{yellow-coins|}}}{{{red-coins|}}}{{{blue-coins|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{yellow-coins|}}}{{{red-coins|}}}{{{blue-coins|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Coins'''
{{!}} '''Coins'''
{{!}} {{#if:{{{yellow-coins|}}}|[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]] ×{{{yellow-coins}}}|}}{{b}}{{#if:{{{red-coins|}}}|[[File:Red_Coin.gif|link=Red_Coin|20px]] ×{{{red-coins}}}|}}{{b}}{{#if:{{{blue-coins|}}}|[[File:Blue_Coin.gif|link=Blue_Coin|20px]] ×{{{blue-coins}}}|}}
{{!}} {{#if:{{{yellow-coins|}}}|[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]] ×{{{yellow-coins}}}|}}{{#if{{{yellow-coins}}}{{#if:{{{red-coins|}}}|{{#if{{{yellow-coins|}}}{{b}}}}[[File:Red_Coin.gif|link=Red_Coin|20px]] ×{{{red-coins}}}|}}{{b}}{{#if:{{{blue-coins|}}}|[[File:Blue_Coin.gif|link=Blue_Coin|20px]] ×{{{blue-coins}}}|}}
| }}
| }}
|}
|}

Revision as of 07:50, 10 June 2018


{{course_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).