Difference between revisions of "ReleasesRowPlus"
From Sega Retro
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> {{#if:{{{packageprice|}}}|{{#if:{{NAMESPACE}}||[[Category:Pre-order bonuses]]}}|}}{{#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|}}}}}}}}}}} | + | {{#vardefine:price|{{Price|{{{price|}}}|region={{{region|}}}|date={{{date|}}}|currency={{{currency|}}}|packageprice={{#if:{{{packageprice|}}}|{{Price|{{{packageprice|}}}|region={{{region|}}}|date={{{date|}}}|currency={{{currency|}}}|type={{{type|}}}}}}}}}}} |
− | {{!}}style="padding:0px 0px 0px 3px;"{{!}} {{#if:{{{multiformat|}}}|{{{multiformat|}}}|{{{{{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}} | ||
+ | }} | ||
+ | |{{#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="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 11: | Line 16: | ||
{{#vardefine:mfi|0}} | {{#vardefine:mfi|0}} | ||
{{#while: | {{#while: | ||
− | | {{#if:{{#explode:{{ | + | | {{#if:{{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}}|true}} |
− | | {{#vardefine:output|{{#explode:{{ | + | | {{#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 | {{StoreRelease | ||
|name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}} | |name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}} | ||
Line 23: | Line 31: | ||
|code={{stripref|{{{code|}}}}} | |code={{stripref|{{{code|}}}}} | ||
|code2={{stripref|{{{code2|}}}}} | |code2={{stripref|{{{code2|}}}}} | ||
− | |rating={{ | + | |rating={{{rating|}}} |
}}{{incvar|mfi}} | }}{{incvar|mfi}} | ||
}} | }} | ||
− | |{{#ifeq:{{#var:format}}|??||{{# | + | |{{#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={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}} | |name={{FormatSQL|{{#titleparts:{{PAGENAME}}}}}} | ||
|type={{#var:type}} | |type={{#var:type}} | ||
|console={{{console|}}} | |console={{{console|}}} | ||
− | |region={{{region|}}} | + | |region={{{region|}}}{{#if:{{{type|}}}|_{{{type|}}}|}} |
|date={{stripref|{{{date|}}}}} | |date={{stripref|{{{date|}}}}} | ||
|rrp={{stripref|{{{price|}}}}} | |rrp={{stripref|{{{price|}}}}} | ||
|code={{stripref|{{{code|}}}}} | |code={{stripref|{{{code|}}}}} | ||
|code2={{stripref|{{{code2|}}}}} | |code2={{stripref|{{{code2|}}}}} | ||
− | |rating={{ | + | |rating={{{rating|}}} |
}} | }} | ||
}} | }} | ||
Line 52: | Line 63: | ||
{{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=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|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}} | {{Footnotes}} | ||
[[Category:Releases templates]]</noinclude> | [[Category:Releases templates]]</noinclude> |
Latest revision as of 13:08, 29 September 2024
ReleasesRowPlus | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|