Difference between revisions of "ReleasesWeb"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{#vardefine:syslist|flash,html5,java}}{{#vardefine:rgnlist|{{Regions/Mobile}},world}}{{clearvar|flash|html5|java}}{{#vardefine:year|9999}} |
− | {{ | + | {{#vardefine:i|0}}{{#while: |
− | {{ | + | | {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}} |
− | {{ | + | | |
− | | | + | {{#vardefine:j|0}}{{#while: |
− | | | + | | {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}} |
− | + | | | |
− | {{# | ||
− | {{#if: {{{ | + | {{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat | |
+ | {{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}} | ||
+ | {{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}} | ||
+ | {{#switch:{{#var:sys}}|flash={{#vardefine:flash|true}}|html5={{#vardefine:html5|true}}|java={{#vardefine:java|true}}}} | ||
+ | {{releasesRowPlus | ||
+ | | console={{#switch:{{#var:sys}}|flash=Flash|html5=HTML5|java=Java}} | ||
+ | | region={{#switch:{{#var:rgn}}|world=World|{{uc:{{#var:rgn}}}}}} | ||
+ | | date={{#var:dat}} | ||
+ | | price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}} | ||
+ | | currency= | ||
+ | | code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} | ||
+ | | code2= | ||
+ | | type={{#switch:{{#var:typ1}} | ||
+ | |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ1}}}} | ||
+ | }} | ||
+ | | download= | ||
+ | | rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}} | ||
+ | }} | ||
+ | }} | ||
− | {{ | + | {{incvar|j}} |
− | + | }} | |
− | {{# | + | {{incvar|i}} |
− | + | }} | |
− | {{#if: {{ | + | {{#switch:{{#var:type}} |
− | + | | 0=[[Category:Browser games]]{{#if:{{#var:flash}}|[[Category:Flash browser games]]}}{{#if:{{#var:html5}}|[[Category:HTML5 browser games]]}}{{#if:{{#var:java}}|[[Category:Java browser games]]}} | |
− | + | | 1= | |
− | + | | 2= | |
− | + | }} | |
− | {{# | ||
− | |||
− | |||
− | {{# | ||
− | |||
− | | | ||
− | | | ||
− | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
See [[Template:Releases/Usage]] for how to use. | See [[Template:Releases/Usage]] for how to use. | ||
[[Category:Releases templates]]</noinclude> | [[Category:Releases templates]]</noinclude> |
Revision as of 21:52, 4 December 2019
See Template:Releases/Usage for how to use.