Actions

Template

Difference between revisions of "DatePrice"

From Sonic Retro

(Created page with "<includeonly><div>{{#vardefine:date|{{#replace:{{{3|}}}|{{gte}}|}}}}{{#if:{{{1|}}}|{{#if:{{{nocountry|}}}||{{flag|{{{1}}}|border=none|date={{#var:date}}}} {{{1}}}:<nowiki> </n...")
 
(added reference fields)
Line 1: Line 1:
<includeonly><div>{{#vardefine:date|{{#replace:{{{3|}}}|{{gte}}|}}}}{{#if:{{{1|}}}|{{#if:{{{nocountry|}}}||{{flag|{{{1}}}|border=none|date={{#var:date}}}} {{{1}}}:<nowiki> </nowiki>}}{{price|{{{2|}}}|region={{{1}}}|date={{#var:date}}|packageprice={{{packageprice|}}}}}}} ({{{3|}}})</div></includeonly><noinclude>
+
<includeonly><div>{{#vardefine:date|{{#replace:{{{3|}}}|{{gte}}|}}}}{{#if:{{{1|}}}|{{#if:{{{nocountry|}}}||{{flag|{{{1}}}|border=none|date={{#var:date}}}} {{{1}}}:<nowiki> </nowiki>}}{{price|{{{2|}}}|region={{{1}}}|date={{#var:date}}|packageprice={{{packageprice|}}}}}}}{{#if:{{{priceref|}}}|{{{priceref|}}}|}} ({{{3|}}}{{#if:{{{dateref|}}}|{{{dateref|}}}|}})</div></includeonly><noinclude>
 
+
{{SegaRetroTemplate}}
 
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.  
  
<pre>{{DatePrice|UK|4.99|1998-01-02}}</pre>
+
<pre>{{DatePrice|UK|4.99|1998-01-02|priceref={{ref|https://www.sega.com/}}|dateref={{ref|https://www.sega.com/}}}}
{{DatePrice|UK|4.99|1998-01-02}}
+
{{DatePrice|FR|4.99|1998-01-02}}</pre>
 +
{{DatePrice|UK|4.99|1998-01-02|priceref={{ref|https://www.sega.com/}}|dateref={{ref|https://www.sega.com/}}}}
 
{{DatePrice|FR|4.99|1998-01-02}}
 
{{DatePrice|FR|4.99|1998-01-02}}
  

Revision as of 14:36, 19 September 2023


Segaretro-round.svg This template has been manually copied from Sega Retro, specifically Template:DatePrice
Technical restrictions prevent this template from being shared across multiple wikis. In the medium term, any changes should be made to the Sega Retro variant first, before manually copying the contents back here. As this is not an automatic process, this version of the template might also be out of date.

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

{{DatePrice|UK|4.99|1998-01-02|priceref={{ref|https://www.sega.com/}}|dateref={{ref|https://www.sega.com/}}}}
{{DatePrice|FR|4.99|1998-01-02}}
Flag UK.svg UK: £4.994.99 (1998-01-02)
Flag FR.svg FR: 4.99F4.99 (1998-01-02)
Flag ZA.svg ZA: R 100100 (1993)
Flag ZA.svg ZA: R 100100 (1995)
Flag BA.svg BA: (≥ 1994)
£4.994.99 (1998-01-02)