Difference between revisions of "ReleasesPS4"
From Sega Retro
Line 9: | Line 9: | ||
{{#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}}}}}}}} | ||
− | {{# | + | {{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}}{{#ifeq:{{#var:typ1}}|d|{{#vardefine:downloadable|true}}|{{#vardefine:retail|true}}}} |
{{releasesRowPlus | {{releasesRowPlus | ||
| console=PS4 | | console=PS4 | ||
Line 17: | Line 17: | ||
| currency= | | currency= | ||
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} | | code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} | ||
− | | type={{# | + | | type={{#switch:{{#if:{{#var:typ2}}|{{#var:typ2}}|{{#var:typ1}}}} |
− | |tb | + | |tb=The Best |
|stb=[[Sega the Best]] | |stb=[[Sega the Best]] | ||
|d= | |d= | ||
− | |{{#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}}|}}}|{{#if:{{#var:typ2}}|{{#var:typ2}}|{{#var:typ1}}}}}} |
}} | }} | ||
− | | download={{#ifeq | + | | download={{#ifeq:{{#var:typ1}}|d|yes}} |
}} | }} | ||
}} | }} | ||
Line 38: | Line 38: | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
See [[Template:Releases/Usage]] for how to use. | See [[Template:Releases/Usage]] for how to use. | ||
− | + | {{bob | |
+ | | releases={{releasesPS4 | ||
+ | | ps4_date_us_d=2000 | ||
+ | | ps4_date_us_d_woop=2000 | ||
+ | | ps4_date_us_d_1=2000 | ||
+ | | ps4_type_us_d_1=doop | ||
+ | | ps4_date_us_poop=2000 | ||
+ | | ps4_date_us_d_tb=2000 | ||
+ | }} | ||
+ | }} | ||
[[Category:Releases templates]]</noinclude> | [[Category:Releases templates]]</noinclude> |
Revision as of 11:15, 17 April 2018
See Template:Releases/Usage for how to use.