Difference between revisions of "DatePrice"

From Sega Retro

Line 1: Line 1:
<includeonly><div>{{#if:{{{1|}}}|{{flag|{{{1}}}|border=silver|date={{{3|}}}}} {{{1}}}: {{price|{{{2|}}}|region={{{1}}}|date={{{3|}}}}}}} ({{{3|}}})</div></includeonly><noinclude>
+
<includeonly><div>{{#vardefine:date|{{#replace:{{{3|}}}|{{gte}}|}}}}{{#if:{{{1|}}}|{{flag|{{{1}}}|border=silver|date={{#var:date}}}} {{{1}}}: {{price|{{{2|}}}|region={{{1}}}|date={{#var:date}}}}}} ({{{3|}}})</div></includeonly><noinclude>
  
 
Template make dates and prices look better in [[Template:AccessoryRelease]], [[Template:ConsoleRelease]] etc.  
 
Template make dates and prices look better in [[Template:AccessoryRelease]], [[Template:ConsoleRelease]] etc.  
Line 9: Line 9:
 
{{DatePrice|ZA|100|1993}}
 
{{DatePrice|ZA|100|1993}}
 
{{DatePrice|ZA|100|1995}}
 
{{DatePrice|ZA|100|1995}}
 +
 +
{{DatePrice|BA||{{gte}} 1994}}
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Revision as of 16:39, 24 May 2021


Template make dates and prices look better in Template:AccessoryRelease, Template:ConsoleRelease etc.

{{DatePrice|UK|4.99|1998-01-02}}
United Kingdom UK: £4.994.99 (1998-01-02)
France FR: 4.99F4.99 (1998-01-02)
South Africa ZA: R 100100 (1993)
South Africa ZA: R 100100 (1995)
Bosnia and Herzegovina BA: (≥ 1994)