Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
(tfw you save the wrong edit)
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]]
{{!}} {{#if:{{{yellow-coins|}}}|[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]]
| }}
| }}
| }}
| }}
{{!}}  '''Coins'''
{{!}} style="vertical-align: top;" {{!}} {{#if: {{{yellow-coins|}}} |
[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]] ×{{{yellow-coins}}} | }}
{{#if: {{{red-coins|}}} | {{#if: {{{yellow-coins|}}} |  {{b}}  | }} | }}
[[File:Red_Coin.gif|link=Red_Coin|20px]] ×{{{red-coins|}}}
{{#if: {{{blue-coins|}}} |
{{#if: {{{red-coins|}}} |  {{b}}  | {{#if: {{{yellow-coins|}}} |  {{b}}  | }} }} | }}
{{#if: {{{blue-coins|}}} | [[File:Blue_Coin.gif|link=Blue_Coin|20px]] ×{{{blue-coins}}} | }}
|}
|}
{{#ifeq:{{NAMESPACENUMBER}}|0|
{{#ifeq:{{NAMESPACENUMBER}}|0|

Revision as of 07:25, 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).