Difference between revisions of "Currency"

From Sega Retro

m
 
(8 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
| AU
 
| AU
 
| CA
 
| CA
 +
| CL
 +
| CO
 
| NZ
 
| NZ
 
| MX=$
 
| MX=$
Line 9: Line 11:
 
| EU=€
 
| EU=€
 
| DE=DM 
 
| DE=DM 
 +
| CN
 
| JP=¥
 
| JP=¥
 
| TW=NT$
 
| TW=NT$
Line 33: Line 36:
 
| CZ= Kč
 
| CZ= Kč
 
| PL=PLN
 
| PL=PLN
| SI=SIT
+
| SI= tolarjev
 
| UA=₴
 
| UA=₴
 +
| HU= Ft
 +
| BY=BYN
 
}}}}{{#switch:{{#sub:{{{2}}}|0|4}}
 
}}}}{{#switch:{{#sub:{{{2}}}|0|4}}
 
| free=FREE
 
| free=FREE
Line 47: Line 52:
 
==Usage==
 
==Usage==
 
<pre>{{currency|XX|PRICE}}</pre>
 
<pre>{{currency|XX|PRICE}}</pre>
[[Category:Sega Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 11:53, 2 June 2023

{{{2}}}

A template to handle RRPs in a more automated way. Also to handle games sold for free or as console pack-ins.

Unfortunately it seems switch statements and tables don't mix well. I can't be bothered to fight it right now - feel free to jump in.

Usage

{{currency|XX|PRICE}}