Difference between revisions of "Template:BAM card/prices"

From Yugipedia
Jump to: navigation, search
m
(Make sure this gets rounded properly)
Line 2: Line 2:
 
-->{{BAM-Icon|{{{1}}}|alt={{{1}}}:}} {{{2}}} [[BAM cost::{{{1}}} {{{2}}}| ]] / <!--
 
-->{{BAM-Icon|{{{1}}}|alt={{{1}}}:}} {{{2}}} [[BAM cost::{{{1}}} {{{2}}}| ]] / <!--
 
-->{{BAM-Icon|Coin|alt=Coins:}} {{ #switch: {{{1}}}
 
-->{{BAM-Icon|Coin|alt=Coins:}} {{ #switch: {{{1}}}
| Coin = {{ #expr: {{{2}}} / 2 }}   [[BAM resell price::{{ #expr: {{{2}}} / 2 }}| ]]
+
| Coin = {{ #expr: {{ #expr: 10*ceil({{{2}}}/10) }} / 2 }} [[BAM resell price::{{ #expr: 10*ceil({{{2}}}/10) / 2 }}| ]]
 
| CP  = {{ #expr: {{{2}}} * 100 }} [[BAM resell price::{{ #expr: {{{2}}} * 100 }}| ]]
 
| CP  = {{ #expr: {{{2}}} * 100 }} [[BAM resell price::{{ #expr: {{{2}}} * 100 }}| ]]
 
| DP  = {{ #expr: {{{2}}} * 2000 }}[[BAM resell price::{{ #expr: {{{2}}} * 2000 }}| ]]
 
| DP  = {{ #expr: {{{2}}} * 2000 }}[[BAM resell price::{{ #expr: {{{2}}} * 2000 }}| ]]
 
}}
 
}}

Revision as of 23:01, 15 January 2013

[[File:BAM-{{{1}}}.svg|link=File:BAM-{{{1}}}.svg |{{{1}}}|alt={{{1}}}:|x25px]] {{{2}}} / Coins: