Template:Course infobox: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:
{{!}} {{{water}}}
{{!}} {{{water}}}
|}}
|}}
|- style="vertical-align: top"
{{#if:{{{yellow-coins|}}}|{{!}}- style="vertical-align: top;"
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="{{|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background:ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Info
{{!}}}
{{!}} style="text-align:center;" {{!}} {{#if: {{{yellow-coins|}}} [[File:Yellow_Coin.gif|link=Yellow_coin|20px]]  ×{{{yellow-coins}}} }} | {{#if: {{{red-coins|}}} [[File:Red_Coin.gif|link=Red_coin|20px]]  ×{{{red-coins}}} }} | {{#if: {{{blue-coins|}}} [[File:Blue_Coin.gif|link=Blue_coin|20px]]  ×{{{blue-coins}}}}}
{{!}} style="text-align:center;" {{!}} {{#if: {{{yellow-coins|}}} [[File:Yellow_Coin.gif|link=Yellow_coin|20px]]  ×{{{yellow-coins}}} }} | {{#if: {{{red-coins|}}} [[File:Red_Coin.gif|link=Red_coin|20px]]  ×{{{red-coins}}} }} | {{#if: {{{blue-coins|}}} [[File:Blue_Coin.gif|link=Blue_coin|20px]]  ×{{{blue-coins}}}}}
{{#if:{{{star|heart}}}|{{!}}- style="vertical-align: top;"
{{!}} {{{yellow-coins}}}
{{!}} '''Objects:'''
|}}
{{#if:{{{star|}}}|{{!}}- style="vertical-align: top;"
{{!}} style="text-align:center;" {{!}} {{#if: {{{star|}}} [[File:Star.gif|link=Star|20px]]  ×{{{star}}} }} | {{#if: {{{heart|}}} [[File:Spin_Heart.png|link=Spinning_heart|20px]]  ×{{{heart}}} }}
{{!}} style="text-align:center;" {{!}} {{#if: {{{star|}}} [[File:Star.gif|link=Star|20px]]  ×{{{star}}} }} | {{#if: {{{heart|}}} [[File:Spin_Heart.png|link=Spinning_heart|20px]]  ×{{{heart}}} }}
{{!}} {{{star}}}
|}}
|}}
|- style="vertical-align: top"
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="{{#ifeq:{{{expand}}}|expandable|mw-collapsible mw-collapsed|noexpandable}}" width="100%" style="background: ghostwhite; text-align:left;" border="0" cellpadding="0" cellspacing="0"
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Course photos
{{!}}-
{{!}} colspan="2" {{!}} [[File:Photo {{{file-name}}}.png|300px|center]]
{{!}}}
|}
{{#ifeq:{{NAMESPACENUMBER}}|0|
{{#ifeq:{{NAMESPACENUMBER}}|0|
[[Category:Objects]]}}
[[Category:Objects]]}}

Revision as of 04:36, 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).