Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
| align="center" colspan="2" bgcolor="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
|-
|-
|align="center" colspan="2" | {{{image|}}}
|align="center" colspan="2" | {{{image|300px}}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{Environment|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{Environment|}}}|{{!}}- style="vertical-align: top;"
Line 16: Line 16:
{{!}} {{{water}}}
{{!}} {{{water}}}
|}}
|}}
{{#if: {{{yellow-coins|}}} {{{red-coins|}}} {{{blue-coins|}}} |
{{!}} &nbsp;'''Coins'''
{{!}} style="text-align:center;" {{!}} {{#if: {{{yellow-coins|}}} |
[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]]&nbsp;&times;{{{yellow-coins}}} | }}
{{#if: {{{red-coins|}}} | {{#if: {{{yellow-coins|}}} | &nbsp;{{b}}&nbsp; | }} | }}
{{#if: {{{red-coins|}}} | [[File:[[File:Red_Coin.gif|link=Red_Coin|20px]]&nbsp;&times;{{{red-coins|}}} | }}
{{#if: {{{blue-coins|}}} |
{{#if: {{{red-coins|}}} | &nbsp;{{b}}&nbsp; | {{#if: {{{yellow-coins|}}} | &nbsp;{{b}}&nbsp; | }} }} | }}
{{#if: {{{blue-coins|}}} | [[File:Blue_Coin.gif|link=Blue_Coin|20px]]&nbsp;&times;{{{blue-coins}}} | }}
{{#if:{{{yellow-coins|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{yellow-coins|}}}|{{!}}- style="vertical-align: top;"
{{!}}[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]] &nbsp;&times;{{{yellow-coins}}}
{{!}}[[File:Yellow_Coin.gif|link=Yellow_Coin|20px]] &nbsp;&times;{{{yellow-coins}}}

Revision as of 05:08, 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).