Difference between revisions of "ReleasesRow"

From Sega Retro

Line 1: Line 1:
 
{{#vardefine:format|{{Code2Format|{{{1|}}}}}}}{{#vardefine:region|{{{2}}}}}{{#vardefine:price|{{currency|{{EuroCheck|{{#var:region}}|{{{3}}}}}|{{{4}}}}}}}{{#if: {{{3|}}} |
 
{{#vardefine:format|{{Code2Format|{{{1|}}}}}}}{{#vardefine:region|{{{2}}}}}{{#vardefine:price|{{currency|{{EuroCheck|{{#var:region}}|{{{3}}}}}|{{{4}}}}}}}{{#if: {{{3|}}} |
{{!}} {{{{{1}}}}} {{#var:region}} {{#if: {{{type|}}} | ({{{type}}}) | }}{{!}}{{!}} <span itemprop="datePublished">{{{3}}}</span> {{!}}{{!}} <span itemprop="price">{{#var:price}}</span> {{!}}{{!}} <span itemprop="catalogNumber">{{{5}}}</span>{{#switch:{{#var:type}}
+
{{!}} {{{{{1}}}}} {{#var:region}} {{#if: {{{type|}}} | ({{{type}}}) | }}{{!}}{{!}} <span itemprop="datePublished">{{{3}}}</span> {{!}}{{!}} <span itemprop="price">{{#var:price}}</span> {{!}}{{!}} <span itemprop="catalogNumber">{{{5}}}</span>{{#ifeq:{{#var:type}}|-1||{{#switch:{{#var:type}}
 
|0={{#vardefine:typename|games}}
 
|0={{#vardefine:typename|games}}
 
|1={{#vardefine:typename|accessories}}
 
|1={{#vardefine:typename|accessories}}
 
|2={{#vardefine:typename|hardware}}
 
|2={{#vardefine:typename|hardware}}
 
}}{{#ifeq:{{#var:format}}|??||[[Category:{{#var:region}} {{#var:format}} {{#var:typename}}]]}}
 
}}{{#ifeq:{{#var:format}}|??||[[Category:{{#var:region}} {{#var:format}} {{#var:typename}}]]}}
}}
+
}}}}
 
{{!}}-<noinclude>
 
{{!}}-<noinclude>
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Revision as of 03:56, 12 August 2017

|-