Difference between revisions of "ReleasesPS3"
From Sega Retro
m (Text replacement - "{{#ifeq:{{#var:year}}\|9999\|\|\[\[Category:{{#var:year}} (.*) games\]\]\[\[Category:All {{#var:year}} games\]\]}}" to "{{ReleasesYearCheck|{{#var:year}}|$1}}") |
|||
(2 intermediate revisions by 2 users not shown) | |||
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=PS3 | | console=PS3 | ||
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}} |
− | |tb | + | |tb=The Best |
|stb=[[Sega the Best]] | |stb=[[Sega the Best]] | ||
|gh=Greatest Hits | |gh=Greatest Hits | ||
Line 25: | Line 26: | ||
|p=Platinum | |p=Platinum | ||
|bh=BigHit | |bh=BigHit | ||
− | |d= | + | |d={{#switch:{{#var:typ2}}|tb=The Best|{{#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={{#ifeq | + | | download={{#ifeq:{{#var:typ1}}|d|yes}} |
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}} | | rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}} | ||
}} | }} | ||
Line 38: | Line 39: | ||
}} | }} | ||
{{#switch:{{#var:type}} | {{#switch:{{#var:type}} | ||
− | | 0=[[Category:PlayStation 3 games]]{{ | + | | 0=[[Category:PlayStation 3 games]]{{ReleasesYearCheck|{{#var:year}}|PlayStation 3}}{{#if:{{#var:downloadable}}|{{#if:{{#var:retail}}||[[Category:Download-only PlayStation 3 games]]}}}} |
| 1=[[Category:PlayStation 3 accessories]] | | 1=[[Category:PlayStation 3 accessories]] | ||
| 2= | | 2= |
Latest revision as of 12:39, 14 August 2023
See Template:Releases/Usage for how to use.