Difference between revisions of "EuroCheck"
From Sega Retro
(Created page with "{{#ifeq:{{#sub:{{{1}}}|0|4}}>2002|yes||}}<noinclude>Category:Sega Retro templates</noinclude>") |
m (Text replacement - "Category:Sega Retro templates" to "Category:Templates") |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{# | + | <includeonly>{{#vardefine:region|{{{1}}}}}{{#switch: {{#var:region}} |
+ | |AT | ||
+ | |BE | ||
+ | |DE | ||
+ | |ES | ||
+ | |FI | ||
+ | |FR | ||
+ | |GR | ||
+ | |IE | ||
+ | |IT | ||
+ | |LU | ||
+ | |NL | ||
+ | |PT={{#ifexpr:{{#sub:{{{2}}}|0|4}}>=2002|EU|{{#var:region}}}} | ||
+ | |{{#var:region}} | ||
+ | }}</includeonly><noinclude>Currency changer template for the adoption of the Euro. While it technically came into existence in 1999, coins weren't widely available until 2002. There was a two or three month overlap period where both the old and new currencies were legal tender - we'll just assume that anything after 2002-01-01 should be listed in Euros. | ||
+ | *UK, 1992 -> {{EuroCheck|UK|1992}} | ||
+ | *UK, 2002 -> {{EuroCheck|UK|2002}} | ||
+ | *UK, 2012 -> {{EuroCheck|UK|2012}} | ||
+ | *FR, 1992 -> {{EuroCheck|FR|1992}} | ||
+ | *FR, 2002 -> {{EuroCheck|FR|2002}} | ||
+ | *FR, 2012 -> {{EuroCheck|FR|2012}} | ||
+ | ==Usage== | ||
+ | <pre>{{EuroCheck|REGION|DATE}} | ||
+ | |||
+ | {{currency|{{EuroCheck|REGION|DATE}}|PRICE}} | ||
+ | </pre> | ||
+ | [[Category:Templates]]</noinclude> |
Latest revision as of 13:08, 1 January 2022
Currency changer template for the adoption of the Euro. While it technically came into existence in 1999, coins weren't widely available until 2002. There was a two or three month overlap period where both the old and new currencies were legal tender - we'll just assume that anything after 2002-01-01 should be listed in Euros.
- UK, 1992 -> UK
- UK, 2002 -> UK
- UK, 2012 -> UK
- FR, 1992 -> FR
- FR, 2002 -> EU
- FR, 2012 -> EU
Usage
{{EuroCheck|REGION|DATE}} {{currency|{{EuroCheck|REGION|DATE}}|PRICE}}