Actions

Template

Difference between revisions of "ReleasesRowPlus"

From Sega Retro

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;{{#vardefine:format|{{Code2Format|{{{console|}}}}}}}{{#if:{{{currency|}}}|{{#vardefine:price|{{#explode:{{{currency|}}}|*|0}}{{{price|}}}{{#explode:{{{currency|}}}|*|1}}}}|{{#vardefine:price|{{currency|{{EuroCheck|{{{region|}}}|{{{date|}}}}}|{{{price|}}}}}}}}}{{#vardefine:ratingonly|{{stripref|{{{rating|}}}}}}}
 
{{!}} {{{{{console|}}}}} {{{region|}}} {{#ifeq:{{{download}}}|yes|<span title="Digital distribution" style="cursor:default;"><u>▼</u></span>}} {{#if:{{{type|}}}|<br />({{{type}}})}}
 
{{!}} {{{{{console|}}}}} {{{region|}}} {{#ifeq:{{{download}}}|yes|<span title="Digital distribution" style="cursor:default;"><u>▼</u></span>}} {{#if:{{{type|}}}|<br />({{{type}}})}}
 
{{!}} <span itemprop="datePublished">{{{date|}}}</span>
 
{{!}} <span itemprop="datePublished">{{{date|}}}</span>
 
{{!}} <span itemprop="price">{{#var:price}}</span>
 
{{!}} <span itemprop="price">{{#var:price}}</span>
 
{{!}} <span itemprop="catalogNumber">{{{code|}}}</span>{{#if:{{{code2|}}}|<br>{{{code2}}}}}
 
{{!}} <span itemprop="catalogNumber">{{{code|}}}</span>{{#if:{{{code2|}}}|<br>{{{code2}}}}}
 +
{{!}}style="padding:0px;"{{!}} {{#switch:{{#var:ratingonly}}
 +
| segaall={{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:Segag.png|16x16px|All Ages]]}}
 +
| segav=  {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:SegaViolent.png|16x16px|Violent Content]]}}
 +
| sega18= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:Sega18.png|16x16px|18 and Up]]}}
 +
| segax=  {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:Segax.png|16x16px|X Rated]]}}
 +
| pegi3=  {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:PEGI 3 2010.svg|16x16px|3+]]}}
 +
| pegi4=  {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:PEGI 4 2010.svg|16x16px|4+]]}}
 +
| pegi6=  {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:PEGI 6 2010.svg|16x16px|6+]]}}
 +
| pegi7=  {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:PEGI 7 2010.svg|16x16px|7+]]}}
 +
| pegi11= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:PEGI 11.svg|16x16px|11+]]}}
 +
| pegi12= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:PEGI 12 2010.svg|16x16px|12+]]}}
 +
| pegi15= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:PEGI 15.svg|16x16px|15+]]}}
 +
| pegi16= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:PEGI 16 2010.svg|16x16px|16+]]}}
 +
| pegi18= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:PEGI 18 2010.svg|16x16px|18+]]}}
 +
| esrbec= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:ESRB Early Childhood.svg|16x16px|Early Childhood]]}}
 +
| esrbe=  {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:ESRB Everyone.svg|16x16px|Everyone]]}}
 +
| esrbe10={{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:ESRB Everyone 10.svg|16x16px|Everyone 10+]]}}
 +
| esrbt=  {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:ESRB Teen.svg|16x16px|Teen]]}}
 +
| esrbm=  {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:ESRB Mature 17.svg|16x16px|Mature 17+]]}}
 +
| esrbao= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:ESRB Adults Only 18.svg|16x16px|Adults Only]]}}
 +
| esrbrp= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:ESRB RP.svg|16x16px|Rating Pending]]}}
 +
| esrbka= {{#replace:{{{rating|}}}|{{#var:ratingonly}}|[[File:ESRB KA.svg|16x16px|Kids to Adults]]}}
 +
}}
 
{{#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|}}]]}}}}
 
{{#ifeq:{{#var:format}}|??||{{#ifeq:{{#var:genre_demo}}|1||[[Category:{{{region|}}} {{#var:format}} {{#switch:{{#var:type}}|0=games|1=accessories|2=hardware|}}]]}}}}
Line 20: Line 43:
 
{{bob
 
{{bob
 
| releases=
 
| releases=
{{releasesRowPlus|console=MD|region=JP|date=1991-06-23|price=2,000|code=G-1234|type=|code2=H-5678}}
+
{{releasesRowPlus|console=MD|region=JP|date=1991-06-23|price=2,000|code=G-1234|type=|code2=H-5678|rating=segaall{{ref|http://segaretro.org}}}}
 
{{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=US|date=2011-06-23|price=9.99|code=NPUB-1337|type=|download=yes|rating=pegi3}}
{{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=esrbe}}
 
{{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=150{{ref|http://google.com}}|code=ABCD|type=|download=yes|currency=*pts}}
 
}}
 
}}
  
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Revision as of 11:49, 4 May 2018

n/a

Notavailable.svg
ReleasesRowPlus
Release Date RRP Code
Sega Mega Drive
JP
¥2,000 G-1234
H-5678
segaall[1]
Sega Mega Drive
JP
(Special Edition)
¥2,000 G-1234
Sony PlayStation 3
US
$9.99 NPUB-1337 pegi3
Sony PlayStation 3
US
(Bundle)
$9.99 NPUB-1337 esrbe
Xbox 360
US
150[2]pts ABCD