Actions

Template

Difference between revisions of "ReleasesRowPlus"

From NEC Retro

 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<includeonly>&#32;{{#if:{{{packageprice|}}}|{{#if:{{NAMESPACE}}||[[Category:Pre-order bonuses]]}}|}}{{#vardefine:format|{{Code2Format|{{{console|}}}}}}}
 
<includeonly>&#32;{{#if:{{{packageprice|}}}|{{#if:{{NAMESPACE}}||[[Category:Pre-order bonuses]]}}|}}{{#vardefine:format|{{Code2Format|{{{console|}}}}}}}
 
{{#vardefine:price|{{Price|{{{price|}}}|region={{{region|}}}|date={{{date|}}}|currency={{{currency|}}}|packageprice={{#if:{{{packageprice|}}}|{{Price|{{{packageprice|}}}|region={{{region|}}}|date={{{date|}}}|currency={{{currency|}}}}}}}}}}}
 
{{#vardefine:price|{{Price|{{{price|}}}|region={{{region|}}}|date={{{date|}}}|currency={{{currency|}}}|packageprice={{#if:{{{packageprice|}}}|{{Price|{{{packageprice|}}}|region={{{region|}}}|date={{{date|}}}|currency={{{currency|}}}}}}}}}}}
{{!}}style="padding:0px 0px 0px 3px;"{{!}} {{{{{console|}}}}} {{{region|}}} {{#ifeq:{{{download}}}|yes|<span title="Digital distribution" style="cursor:default;"><u>▼</u></span>}} {{#if:{{{type|}}}|<br />({{{type}}})}}
+
{{!}}style="padding:0px 0px 0px 3px;"{{!}} {{
 +
#if:{{{multiformat|}}}|{{#vardefine:mfi|0}}{{#while:
 +
| {{#if:{{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}}|true}}
 +
| {{ {{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}} }} {{incvar|mfi}}
 +
}}
 +
|{{{{{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="datePublished">{{{date|}}}</span>
 
{{!}}style="padding:5px; 2px 5px 2px"{{!}} <span itemprop="price">{{#var:price}}</span>
 
{{!}}style="padding:5px; 2px 5px 2px"{{!}} <span itemprop="price">{{#var:price}}</span>
Line 7: Line 12:
 
{{!}}style="padding:0px 0px 0px 2px;"{{!}} {{#if:{{{rating|}}}|{{minirating|region={{{region|}}}|rating={{{rating|}}}|date={{{date|}}}}}}}
 
{{!}}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}}}}}}
 +
{{#ifeq:{{#var:genre_demo}}|1||[[Category:{{{region|}}} {{Code2Format|{{#var:output}}}} {{#switch:{{#var:type}}|0=games|1=accessories|2=hardware|}}]]}}
 +
<!-- {{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={{#var:ratingonly}}
 +
}}-->{{incvar|mfi}}
 +
}}
 +
 
 +
|{{#ifeq:{{#var:format}}|??||{{#ifeq:{{#var:genre_demo}}|1||[[Category:{{{region|}}} {{#var:format}} {{#switch:{{#var:type}}|0=games|1=accessories|2=hardware|}}]]}}}}
 
<!-- {{StoreRelease
 
<!-- {{StoreRelease
 
|name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}
 
|name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}}
Line 19: Line 44:
 
|rating={{#var:ratingonly}}
 
|rating={{#var:ratingonly}}
 
}} -->
 
}} -->
 +
}}
 
}}
 
}}
 
{{!}}-
 
{{!}}-
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 +
{{TODO}}
 
{{bob
 
{{bob
 
| releases=
 
| releases=
Line 29: Line 56:
 
{{releasesRowPlus|console=PS3|region=US|date=2011-06-23|price=9.99|code=NPUB-1337|type=Bundle|download=yes|rating=e}}
 
{{releasesRowPlus|console=PS3|region=US|date=2011-06-23|price=9.99|code=NPUB-1337|type=Bundle|download=yes|rating=e}}
 
{{releasesRowPlus|console=PS3|region=JP|date=2009-06-23|price=2800e|code=NPUB-1337|type=|download=yes|rating=z}}
 
{{releasesRowPlus|console=PS3|region=JP|date=2009-06-23|price=2800e|code=NPUB-1337|type=|download=yes|rating=z}}
 +
{{releasesRowPlus|multiformat=MD,SMS,GG|region=JP|date=2009-06-23|price=1234|packageprice=1,000}}
 
}}
 
}}
  
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Latest revision as of 05:20, 15 February 2022


48
This task is unfinished
This is a wiki task that requires more thought or peer review. An important issue that needs to be solved, which will appear at the top of NEC Retro:Todo until this message is removed.

n/a

Notavailable.svg
ReleasesRowPlus
Release Date RRP Code
PC Engine
JP
¥2,0002,000 G-1234
H-5678
PC Engine
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
Sony PlayStation 3
JP
¥2,800 (2,940)2800e NPUB-1337
CERO: Z
Sega Mega Drive
Sega Master System
Sega Game Gear
JP
¥1,0001,000¥12341234

{{#seo:

|og:image=https://necretro.org/images/0/0b/Notavailable.svg
|og:site_name=NEC Retro
|title=ReleasesRowPlus
|twitter:card=summary_large_image
|twitter:image:src=https://necretro.org/images/0/0b/Notavailable.svg
}}