Template:Object infobox: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 4: Line 4:
|align="center" colspan="2" | {{{image|}}}
|align="center" colspan="2" | {{{image|}}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{hitbox|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{Environment|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Hitbox'''
{{!}} '''Environment'''
{{!}} {{{hitbox}}}
{{!}} {{{environment}}}
|}}
|}}
|- style="vertical-align: top"
{{#if:{{{setting|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{damage|}}}|{{!}}- style="vertical-align:top"
{{!}} '''Setting'''
{{!}} '''Damage'''
{{!}} {{{setting}}}
{{!}} {{{damage}}}
|}}
|- style="vertical-align: top"
{{#if:{{{speed|}}}|{{!}}- style="vertical-align:top"
{{!}} '''Speed'''
{{!}} style="width:17em" {{!}} {{{speed}}}
|}}
|}}
|- style="vertical-align: top"
{{#if:{{{water|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{tangibility_radius|}}}|{{!}}- style="vertical-align:top"
{{!}} '''Water'''
{{!}} '''Tangibility radius'''
{{!}} {{{water}}}
{{!}} {{{tangibility_radius}}}
|}}
|}}
|- style="vertical-align: top"
{{#if:{{{water|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{interaction_type|}}}|{{!}}- style="vertical-align:top"
{{!}} '''Water'''
{{!}} '''Interaction type'''
{{!}} {{{water}}}
{{!}} {{{interaction_type}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{surfaces|}}}|{{!}}- style="vertical-align:top"
| {{#if: {{{yellow-coins|red-coins|blue-coins|}}}
{{!}} '''Surfaces'''
{{!}} {{{surfaces}}}
|}}
|- style="vertical-align: top"
{{#if:{{{related|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} 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"
{{{!}} 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;" {{!}} Related
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Objects
{{!}}-
{{!}}-
{{!}} style="padding:0 2px;" {{!}} {{{related|}}}
{{!}} 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;"
{{!}} '''Objects:'''
{{!}} 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="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{found_in|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} 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"
{{{!}} 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;" {{!}} Found In
! style="background:{{{secbg|#c5ced6}}}; padding:2px;" {{!}} Found In
{{!}}-
{{!}}-
{{!}} style="padding:0 2px;" {{!}} {{{found_in}}}
{{!}} colspan="2" {{!}} [[File:Photo {{{file-name}}}.png|300px|center]]
{{!}}}
{{!}}}
|}}
|}}
709

edits