Template:PurchaseBox: Difference between revisions

Use infobox class
(Initial creation)
 
(Use infobox class)
 
Line 12: Line 12:
-->{{#vardefine:purchContentsStyle|{{#ifeq:{{#var:purchContents}}||style="display:none;"|}}}}<!--
-->{{#vardefine:purchContentsStyle|{{#ifeq:{{#var:purchContents}}||style="display:none;"|}}}}<!--
--><!-- Generate the box -->
--><!-- Generate the box -->
{| class="wikitable" style="float:right; clear:right; max-width:250px; margin-left:10px"
{| class="wikitable infobox"
|-  
|-  
! {{#var:purch}}
! {{#var:purch}}
|-
|-
| {{#invoke:Shop|getPurchaseIcon|{{#var:purch}}|size=250|notext=true}}
| style="text-align:center;" | {{#invoke:Shop|getPurchaseIcon|{{#var:purch}}|size=250|notext=true}}
|-
|-
| style="text-align: center;" | {{#invoke:Shop|getPurchaseStat|{{#var:purch}}|description}}
| style="text-align: center;" | {{#invoke:Shop|getPurchaseStat|{{#var:purch}}|description}}