Actions

Template

Difference between revisions of "EuroCheck"

From Sonic Retro

(Created page with "<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}}}}...")
 
 
Line 25: Line 25:
 
{{currency|{{EuroCheck|REGION|DATE}}|PRICE}}
 
{{currency|{{EuroCheck|REGION|DATE}}|PRICE}}
 
</pre>
 
</pre>
[[Category:Sonic Retro templates]]</noinclude>
+
[[Category:Templates]]</noinclude>

Latest revision as of 19:17, 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}}