Difference between revisions of "Releases3DS"
From Sega Retro
Line 8: | Line 8: | ||
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat | | {{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat | | ||
− | {{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}{{ | + | {{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}} |
− | {{#switch:{{#var:sys}}|vc3ds={{#vardefine:downloadable|true}}{{#vardefine:vc3ds | + | {{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}} |
+ | {{#switch:{{#var:sys}}|vc3ds={{#vardefine:downloadable|true}}{{#vardefine:vc3ds|true}}|{{#ifeq:{{#var:typ1}}|d|{{#vardefine:downloadable|true}}|{{#vardefine:retail|true}}}}}} | ||
{{releasesRowPlus | {{releasesRowPlus | ||
| console={{#switch:{{#var:sys}}|vc3ds=VC3DS|3DS}} | | console={{#switch:{{#var:sys}}|vc3ds=VC3DS|3DS}} | ||
Line 18: | Line 19: | ||
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} | | code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} | ||
| code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}} | | code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}} | ||
− | | type={{# | + | | type={{#switch:{{#var:typ1}} |
− | + | |d={{#var:typ2}} | |
− | |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}| | + | |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ1}}}} |
}} | }} | ||
− | | download={{# | + | | download={{#switch:{{#var:sys}}|vc3ds=yes|{{#switch:{{#var:typ1}}|d=yes}}}} |
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}} | | rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}} | ||
}} | }} |
Revision as of 22:30, 6 May 2019
See Template:Releases/Usage for how to use.