209,679
edits
Changes
This will look a bit messy if SMW is suspended, but will give it less reason to be suspended.
| {{ #if: {{{2|}}}
| {{ #switch: {{{1}}}
| CP = {{ #expr: {{{2}}} * 100 }} [[Resell price::{{ #expr: {{{2}}} * 100 }}| ]] | DP = {{ #expr: {{{2}}} * 2000 }}[[Resell price::{{ #expr: {{{2}}} * 2000 }}| ]] | #default = {{ #expr: {{ #expr: 10*ceil({{{2}}}/10) }} / 2 }} [[Resell price::{{ #expr: 10*ceil({{{2}}}/10) / 2 }}| ]]
}}
}}
}}