Difference between revisions of "Price"
From Sega Retro
(7 intermediate revisions by 3 users not shown) | |||
Line 5: | Line 5: | ||
| AR | | AR | ||
| CA | | CA | ||
+ | | CL | ||
+ | | CO | ||
| NZ | | NZ | ||
| MX=$ | | MX=$ | ||
Line 10: | Line 12: | ||
| EU=€ | | EU=€ | ||
| DE=DM | | DE=DM | ||
+ | | CN | ||
| JP=¥ | | JP=¥ | ||
| HK=HK$ | | HK=HK$ | ||
Line 20: | Line 23: | ||
| TH=฿ | | TH=฿ | ||
| MY=RM | | MY=RM | ||
+ | | ZA=R | ||
+ | | SI={{dateswitch|date={{{date|}}}||2007-01-01=€}} | ||
}}}}{{#vardefine:suffix|{{#switch:{{#var:pricereg}} | }}}}{{#vardefine:suffix|{{#switch:{{#var:pricereg}} | ||
| FR=F | | FR=F | ||
Line 35: | Line 40: | ||
| CZ= Kč | | CZ= Kč | ||
| PL=zł | | PL=zł | ||
− | }}}}{{#if:{{{currency|}}}|{{#vardefine:prefix|{{#explode:{{{currency|}}}|*|0}}}}{{#vardefine:suffix|{{#explode:{{{currency|}}}|*|1}}}}}}{{#vardefine:priceout|{{#switch:{{#var:pricereg}}|JP={{JapanTax|{{#var:priceonly}}|{{{date|}}}}}|{{#var:priceonly}}}}}}}}{{#if:{{#var:priceout}}|{{#var:prefix}}{{#var:priceout}}{{#var:suffix}}{{#if:{{#var:quantity}}| ×{{#var:quantity}}}}}}<noinclude> | + | | HU= Ft |
+ | | SI={{dateswitch|date={{{date|}}}| tolarjev|2007-01-01=}} | ||
+ | }}}}{{#if:{{{currency|}}}|{{#vardefine:prefix|{{#explode:{{{currency|}}}|*|0}}}}{{#vardefine:suffix|{{#explode:{{{currency|}}}|*|1}}}}}}{{#vardefine:priceout|{{#switch:{{#var:pricereg}}|JP={{JapanTax|{{#var:priceonly}}|{{{date|}}}}}|{{#var:priceonly}}}}}}}}{{#if:{{#var:priceout}}|{{#var:prefix}}{{#var:priceout}}{{#var:suffix}}{{#if:{{#var:quantity}}| ×{{#var:quantity}}}}}}<span style="font-size:0px">{{{1|}}}</span><noinclude> | ||
Consolidating all the currency-based templates. | Consolidating all the currency-based templates. | ||
Revision as of 01:26, 5 September 2020
Consolidating all the currency-based templates.
Usage
{{price|PRICE|region=|date=}}
- {{price|1.99|region=US}} -> $1.991.99
- {{price|2.99|region=FR|date=2011-01-01}} -> €2.992.99
- {{price|3.99|region=fr|date=1990-01-01}} -> 3.99F3.99
- {{price|free}} -> FREEfree
- {{price|sub}} -> SUBsub
- {{price|2800e|region=JP|date=2008-01-01}} -> ¥2,800 (2,940)2800e
- {{price|1620i|region=JP|date=2017-01-01}} -> ¥1,500 (1,620)1620i
- {{price|100|region=US|currency=*MSP}} -> 100MSP100
- {{price|1500i x2|region=JP|date=2017-01-01}} -> ¥1,389 (1,500) ×21500i x2
- {{price|1500i ×2|region=JP|date=2017-01-01}} -> ¥1,389 (1,500) ×21500i ×2
- {{price|200 x3|region=US|currency=*MSP}} -> 200MSP ×3200 x3