Difference between revisions of "ReleasesRowPlus"
From Sega Retro
(stoopid) |
|||
(30 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> {{#vardefine:format|{{Code2Format|{{{console|}}}}}}}{{# | + | <includeonly> {{#if:{{{packageprice|}}}|{{#if:{{NAMESPACE}}||{{#ifeq:{{uc:{{{price|}}}}}|PRE|[[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|}}}|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}}}}}} | ||
+ | {{#ifeq:{{#var:genre_demo}}|1||[[Category:{{{region|}}} {{#if:{{{lcformat|}}}|{{lc:{{Code2Format|{{#var:output}}}}}}|{{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={{{rating|}}} | ||
+ | }}{{incvar|mfi}} | ||
+ | }} | ||
+ | |||
+ | |{{#ifeq:{{#var:format}}|??||{{#ifeq:{{#var:genre_demo}}|1||[[Category:{{{region|}}} {{#if:{{{lcformat|}}}|{{lc:{{#var:format}}}}|{{#var:format}}}} {{#switch:{{#var:type}}|0=games|1=accessories|2=hardware|}}]]}}}} | ||
{{StoreRelease | {{StoreRelease | ||
− | |name={{ | + | |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={{ | + | |rrp={{stripref|{{{price|}}}}} |
− | |code={{{code|}}} | + | |code={{stripref|{{{code|}}}}} |
+ | |code2={{stripref|{{{code2|}}}}} | ||
+ | |rating={{{rating|}}} | ||
+ | }} | ||
}} | }} | ||
}} | }} | ||
Line 20: | Line 50: | ||
{{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= | + | {{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= | + | {{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> |
Revision as of 12:08, 27 June 2024
ReleasesRowPlus | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|