Difference between revisions of "Currency"
From Sega Retro
Line 1: | Line 1: | ||
<span style="display:none;"> | <span style="display:none;"> | ||
{{#vardefine:prefix|{{#switch: {{{1}}} | {{#vardefine:prefix|{{#switch: {{{1}}} | ||
− | | US=$ | + | | US |
+ | | AU | ||
+ | | CA | ||
+ | | MX=$ | ||
| UK=£ | | UK=£ | ||
| EU=€ | | EU=€ | ||
| DE=DM | | DE=DM | ||
+ | | JP=¥ | ||
+ | | TW=NT$ | ||
+ | | BR=R$ | ||
+ | | NL=ƒ | ||
+ | | KR=₩ | ||
+ | | IN=₹ | ||
+ | | TH=฿ | ||
}}}} | }}}} | ||
{{#vardefine:suffix|{{#switch: {{{1}}} | {{#vardefine:suffix|{{#switch: {{{1}}} | ||
| FR=F | | FR=F | ||
+ | | ES=Ptas | ||
+ | | IT=£ | ||
+ | | SE=kr | ||
+ | | RU=RUB | ||
+ | | KW=KD | ||
}}}}</span>{{#switch: {{{2}}} | }}}}</span>{{#switch: {{{2}}} | ||
| free=FREE | | free=FREE | ||
− | | pack= | + | | pack=PACK-IN |
− | | #default={{#var:prefix}}{{{2}}}{{#var:suffix}} | + | | #default={{#var:prefix}}{{#ifeq:{{{2}}}||?|{{{2}}}}}{{#var:suffix}} |
− | }}<noinclude>[[Category:Sega Retro templates]]</noinclude> | + | }}<noinclude> |
+ | |||
+ | 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. | ||
+ | |||
+ | [[Category:Sega Retro templates]]</noinclude> |
Revision as of 14:07, 21 June 2016
{{{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.