Difference between revisions of "ReleasesRowPlus"
From Sega Retro
(12 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
| {{ {{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}} }} {{incvar|mfi}} | | {{ {{#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}}})}} | + | |{{#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 18: | Line 18: | ||
| {{#if:{{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}}|true}} | | {{#if:{{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}}|true}} | ||
| {{#vardefine:output|{{#explode:{{{multiformat|}}}|,|{{#var:mfi}}}}}} | | {{#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 28: | 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}}|??||{{#ifexpr:{{#var:type}}<3|[[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|}}}|_{{Delink|{{{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|}}} |
}} | }} | ||
}} | }} |
Latest revision as of 17:09, 20 November 2024
ReleasesRowPlus | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|