Template:Price
Revision as of 14:04, 16 January 2016 by Eleonore Silvermoon (talk | contribs) (Created page with "<includeonly>{{#iferror: {{#expr:{{{2|}}}*1}}|{{#iferror: {{#expr:{{{1|}}}*1}}|N/A|{{Credit|{{#number_format:{{{1}}}}}}}}}|{{#iferror: {{#expr:{{{1|}}}*1}}|N/A|{{Credit|{{#num...")
Usage
{{Price|PRICE|DISCOUNT}}
This template calculates the discount for a price (if the second argument is a valid numeric value) and formats it.
Examples
{{Price|1000|10}}
900
{{Price|1000|}}
1,000
{{Price|1000|test}}
1,000
{{Price|1000}}
1,000
{{Price|test}}
N/A
{{Price}}
N/A