Difference between revisions of "ReleasesRowPlus"

From Sega Retro

 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>&#32;{{#vardefine:format|{{Code2Format|{{{console|}}}}}}}{{#if:{{{currency|}}}|{{#vardefine:price|{{#explode:{{{currency|}}}|*|0}}{{{price|}}}{{#explode:{{{currency|}}}|*|1}}}}|{{#vardefine:price|{{currency|{{EuroCheck|{{{region|}}}|{{{date|}}}}}|{{{price|}}}}}}}}}
+
<includeonly>&#32;{{#if:{{{packageprice|}}}|{{#if:{{NAMESPACE}}||{{#ifeq:{{uc:{{{price|}}}}}|PRE|[[Category:Pre-order bonuses]]}}}}|}}{{#vardefine:format|{{Code2Format|{{{console|}}}}}}}
{{!}} {{{{{console|}}}}} {{{region|}}} {{#ifeq:{{{download}}}|yes|<span title="Digital distribution" style="cursor:default;"><u>🡇</u></span>}} {{#if:{{{type|}}}|<br />({{{type}}})}}
+
{{#vardefine:price|{{Price|{{{price|}}}|region={{{region|}}}|date={{{date|}}}|currency={{{currency|}}}|packageprice={{#if:{{{packageprice|}}}|{{Price|{{{packageprice|}}}|region={{{region|}}}|date={{{date|}}}|currency={{{currency|}}}|type={{{type|}}}}}}}}}}}
{{!}} <span itemprop="datePublished">{{{date|}}}</span>
+
{{!}}style="padding:0px 0px 0px 3px;"{{!}} {{
{{!}} <span itemprop="price">{{#var:price}}</span>
+
#if:{{{multiformat|}}}|{{#vardefine:mfi|0}}{{#while:
{{!}} <span itemprop="catalogNumber">{{{code|}}}</span>
+
| {{#if:{{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}}|true}}
 +
| {{ {{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}} }} {{incvar|mfi}}
 +
}}
 +
|{{#vardefine:sysmatch|true}}{{{{{console|}}}}}}} {{{region|}}} {{#ifeq:{{{download}}}|yes|<span title="Digital distribution" style="cursor:default;"><u></u></span>}} {{#if:{{{type|}}}|<br />({{{type}}})}}
 +
{{!}}style="padding:5px; 2px 5px 2px"{{!}} <span itemprop="datePublished">{{{date|}}}</span>
 +
{{!}}style="padding:5px; 2px 5px 2px"{{!}} <span itemprop="price">{{#var:price}}</span>
 +
{{!}} style="padding:5px; 4px 5px 2px; white-space: nowrap;"{{!}} <span itemprop="catalogNumber">{{{code|}}}</span>{{#if:{{{code2|}}}|<br>{{{code2}}}}}
 +
{{!}}style="padding:0px 0px 0px 2px;"{{!}} {{#if:{{{rating|}}}|{{minirating|region={{{region|}}}|rating={{{rating|}}}|date={{{date|}}}}}}}
 
{{#if:{{NAMESPACE}}||
 
{{#if:{{NAMESPACE}}||
{{#ifeq:{{#var:format}}|??||{{#ifeq:{{#var:genre_demo}}|1||[[Category:{{{region|}}} {{#var:format}} {{#switch:{{#var:type}}|0=games|1=accessories|2=hardware|}}]]}}}}
+
{{#if:{{{multiformat|}}}|
 +
<!-- multi-format games -->
 +
{{#vardefine:mfi|0}}
 +
{{#while:
 +
| {{#if:{{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}}|true}}
 +
| {{#vardefine:output|{{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}}}}
 +
[[Category:{{{region|}}} {{#if:{{{lcformat|}}}|{{lc:{{Code2Format|{{#var:output}}}}}}|{{Code2Format|{{#var:output}}}}}} {{#ifeq:{{#var:genre_demo}}|1|demo discs|{{#switch:{{#var:type}}|0=games|1=accessories|2=hardware|}}}}]]{{
 +
#if:{{{region|}}}|{{
 +
  #ifeq:{{#var:genre_demo}}|1||{{
 +
    #ifeq:{{#var:type}}|0|[[Category:All {{{region}}} games]]}}}}}}
 +
{{StoreRelease
 +
|name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}
 +
|type={{#var:type}}
 +
|console={{#var:output}}
 +
|region={{{region|}}}
 +
|date={{stripref|{{{date|}}}}}
 +
|rrp={{stripref|{{{price|}}}}}
 +
|code={{stripref|{{{code|}}}}}
 +
|code2={{stripref|{{{code2|}}}}}
 +
|rating={{{rating|}}}
 +
}}{{incvar|mfi}}
 +
}}
 +
 
 +
|{{#ifeq:{{#var:format}}|??||[[Category:{{{region|}}} {{#if:{{{lcformat|}}}|{{lc:{{#var:format}}}}|{{#var:format}}}} {{#ifeq:{{#var:genre_demo}}|1|demo discs|{{#switch:{{#var:type}}|0=games|1=accessories|2=hardware|}}}}]]}}{{
 +
#if:{{{region|}}}|{{
 +
  #ifeq:{{#var:genre_demo}}|1||{{
 +
    #ifeq:{{#var:type}}|0|[[Category:All {{{region}}} games]]}}}}}}
 
{{StoreRelease
 
{{StoreRelease
|name={{#replace:{{#titleparts:{{PAGENAME}}}}|"|\"}}
+
|name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}
 
|type={{#var:type}}
 
|type={{#var:type}}
 
|console={{{console|}}}
 
|console={{{console|}}}
|region={{{region|}}}
+
|region={{{region|}}}{{#if:{{{type|}}}|_{{{type|}}}|}}
|date={{{date|}}}
+
|date={{stripref|{{{date|}}}}}
|rrp={{#var:price}}
+
|rrp={{stripref|{{{price|}}}}}
|code={{{code|}}}
+
|code={{stripref|{{{code|}}}}}
 +
|code2={{stripref|{{{code2|}}}}}
 +
|rating={{{rating|}}}
 +
}}
 
}}
 
}}
 
}}
 
}}
Line 20: Line 56:
 
{{bob
 
{{bob
 
| releases=
 
| releases=
{{releasesRowPlus|console=MD|region=JP|date=1991-06-23|price=2,000|code=G-1234|type=}}
+
{{releasesRowPlus|console=MD|region=JP|date=1991-06-23|price=2,000{{ref|http://sega.com}}|code=G-1234|type=|code2=H-5678|rating=all{{ref|http://sega.com}}}}
 
{{releasesRowPlus|console=MD|region=JP|date=1991-06-23|price=2,000|code=G-1234|type=Special Edition}}
 
{{releasesRowPlus|console=MD|region=JP|date=1991-06-23|price=2,000|code=G-1234|type=Special Edition}}
{{releasesRowPlus|console=PS3|region=US|date=2011-06-23|price=9.99|code=NPUB-1337|type=|download=yes}}
+
{{releasesRowPlus|console=PS3|region=EU|date=2009-06-23|price=9.99|code=NPUB-1337|type=|download=yes|rating=3}}
{{releasesRowPlus|console=PS3|region=US|date=2011-06-23|price=9.99|code=NPUB-1337|type=Bundle|download=yes}}
+
{{releasesRowPlus|console=PS3|region=US|date=2011-06-23|price=9.99|code=NPUB-1337|type=Bundle|download=yes|rating=e}}
{{releasesRowPlus|console=360|region=US|date=2011-06-23|price=150{{ref|http://google.com}}|code=ABCD|type=|download=yes|currency=*pts}}
+
{{releasesRowPlus|console=360|region=US|date=2011-06-23|price=free|code=ABCD|type=|download=yes|currency=*pts}}
 +
{{releasesRowPlus|console=PS3|region=JP|date=2009-06-23|price=2800e{{ref|http://sega.com}}|code=NPUB-1337|type=|download=yes|rating=z}}
 +
{{releasesRowPlus|console=CD|region=JP|date=2009-06-23|price=pre|packageprice=1,000}}
 +
{{releasesRowPlus|multiformat=MD,SMS,GG|region=JP|date=2009-06-23|price=pre|packageprice=1,000}}
 
}}
 
}}
  
 +
{{Footnotes}}
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Latest revision as of 13:08, 29 September 2024

n/a

Notavailable.svg
ReleasesRowPlus
Release Date RRP Code
Sega Mega Drive
JP
¥2,0002,000[1] G-1234
H-5678
Sega Rating: All Ages
Sega Mega Drive
JP
(Special Edition)
¥2,0002,000 G-1234
Sony PlayStation 3
EU
€9.999.99 NPUB-1337
PEGI: 3+
Sony PlayStation 3
US
(Bundle)
$9.999.99 NPUB-1337
ESRB: Everyone
Xbox 360
US
FREEfree ABCD
Sony PlayStation 3
JP
¥2,800 (2,940)2800e[1] NPUB-1337
CERO: Z
Compact Disc
JP
¥1,0001,000PRE[fn 1]pre
Sega Mega Drive
Sega Master System
Sega Game Gear
JP
¥1,0001,000PRE[fn 1]pre
  1. 1.0 1.1 Pre-order bonus. Full package price: ¥1,0001,000.