Actions

Template

Difference between revisions of "Currency"

From Sonic Retro

(Created page with "{{#vardefine:prefix|{{#switch: {{{1}}} | US | AU | CA | MX=$ | UK=£ | EU=€ | DE=DM  | JP=¥ | TW=NT$ | BR=R$ | NL=ƒ | KR=₩ | IN=₹ | TH=฿ }}}}{{#vardefine:suffix...")
 
Line 21: Line 21:
 
| RU=RUB
 
| RU=RUB
 
| KW=KD
 
| KW=KD
}}}}{{#switch: {{{2}}}
+
}}}}{{#ifeq:{{{3}}}|VC|{{#vardefine:prefix|}}{{#vardefine:suffix|pts}}}}{{#switch: {{{2}}}
 
| free=FREE
 
| free=FREE
 
| pack=PACK-IN
 
| pack=PACK-IN

Revision as of 16:43, 16 April 2017

{{{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.