Actions

Template

Difference between revisions of "JapanTax"

From NEC Retro

(Created page with "{{#vardefine:priceonly|{{stripref|{{{1|}}}}}}}{{#vardefine:priceclean|{{#replace:{{#var:priceonly}}|,}}}}{{#switch:{{#var:priceonly}}|free={{{1|}}}|{{#switch:{{#sub:{{#var:pri...")
 
m (Text replacement - "Category:NEC Retro templates" to "Category:Templates")
 
Line 13: Line 13:
 
Add "i" or "e" to the end of the price, if said price includes or excludes tax.
 
Add "i" or "e" to the end of the price, if said price includes or excludes tax.
  
[[Category:NEC Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 12:20, 1 January 2022

Usage

{{JapanTax|PRICEi/PRICEe|DATE}}
  • {{JapanTax|1,620i|2017-07-07}} -> 1,500 (1,620)
  • {{JapanTax|1,500e|2017-07-07}} -> 1,500 (1,620)
  • {{JapanTax|2,800e|2008-07-07}} -> 2,800 (2,940)
  • {{JapanTax|free|2008-07-07}} -> free

Add "i" or "e" to the end of the price, if said price includes or excludes tax.