|
|
Line 1: |
Line 1: |
− | <includeonly>{{releasesRow|PS4|JP|{{{ps4_date_jp|}}}|{{{ps4_rrp_jp|?}}}|{{{ps4_code_jp|?}}}}} | + | <includeonly>{{#vardefine:syslist|ps4}}{{#vardefine:rgnlist|{{Regions/Modern}}}}{{clearvar|retail|downloadable}}{{#vardefine:year|9999}} |
− | {{releasesRow|PS4|JP|{{{ps4_date_jp_d|}}}|{{{ps4_rrp_jp_d|?}}}|{{{ps4_code_jp_d|?}}}|type=Download}}
| + | {{#vardefine:i|0}}{{#while: |
− | {{releasesRow|PS4|JP|{{{ps4_date_jp_tb|}}}|{{{ps4_rrp_jp_tb|?}}}|{{{ps4_code_jp_tb|?}}}|type=Rerelease}} | + | | {{#ifexpr: {{#len:{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}} > 0 | true }} |
− | {{releasesRow|PS4|JP|{{{ps4_date_jp_tbd|}}}|{{{ps4_rrp_jp_tbd|?}}}|{{{ps4_code_jp_tbd|?}}}|type=Re-Download}}
| + | | {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}} |
− | {{releasesRow|PS4|JP|{{{ps4_date_jp_1|}}}|{{{ps4_rrp_jp_1|?}}}|{{{ps4_code_jp_1|?}}}|type={{{ps4_type_jp_1|}}}}}
| + | {{#vardefine:j|0}}{{#while: |
− | {{releasesRow|PS4|US|{{{ps4_date_us|}}}|{{{ps4_rrp_us|?}}}|{{{ps4_code_us|?}}}}}
| + | | {{#ifexpr: {{#len:{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}} > 0 | true }} |
− | {{releasesRow|PS4|US|{{{ps4_date_us_d|}}}|{{{ps4_rrp_us_d|?}}}|{{{ps4_code_us_d|?}}}|type=Download}}
| + | | {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}} |
− | {{releasesRow|PS4|US|{{{ps4_date_us_1|}}}|{{{ps4_rrp_us_1|?}}}|{{{ps4_code_us_1|?}}}|type={{{ps4_type_us_1|}}}}} | |
− | {{releasesRow|PS4|EU|{{{ps4_date_eu|}}}|{{{ps4_rrp_eu|?}}}|{{{ps4_code_eu|?}}}}}
| |
− | {{releasesRow|PS4|EU|{{{ps4_date_eu_d|}}}|{{{ps4_rrp_eu_d|?}}}|{{{ps4_code_eu_d|?}}}|type=Download}}
| |
− | {{releasesRow|PS4|EU|{{{ps4_date_eu_1|}}}|{{{ps4_rrp_eu_1|?}}}|{{{ps4_code_eu_1|?}}}|type={{{ps4_type_eu_1|}}}}}
| |
− | {{releasesRow|PS4|UK|{{{ps4_date_uk|}}}|{{{ps4_rrp_uk|?}}}|{{{ps4_code_uk|?}}}}} | |
− | {{releasesRow|PS4|UK|{{{ps4_date_uk_d|}}}|{{{ps4_rrp_uk_d|?}}}|{{{ps4_code_uk_d|?}}}|type=Download}}
| |
− | {{releasesRow|PS4|UK|{{{ps4_date_uk_1|}}}|{{{ps4_rrp_uk_1|?}}}|{{{ps4_code_uk_1|?}}}|type={{{ps4_type_uk_1|}}}}}
| |
− | {{releasesRow|PS4|AU|{{{ps4_date_au|}}}|{{{ps4_rrp_au|?}}}|{{{ps4_code_au|?}}}}}
| |
− | {{releasesRow|PS4|AU|{{{ps4_date_au_d|}}}|{{{ps4_rrp_au_d|?}}}|{{{ps4_code_au_d|?}}}|type=Download}}
| |
− | {{releasesRow|PS4|RU|{{{ps4_date_ru|}}}|{{{ps4_rrp_ru|?}}}|{{{ps4_code_ru|?}}}}}
| |
− | {{releasesRow|PS4|RU|{{{ps4_date_ru_1|}}}|{{{ps4_rrp_ru_1|?}}}|{{{ps4_code_ru_1|?}}}|type={{{ps4_type_ru_1|}}}}}
| |
− | {{releasesRow|PS4|RU|{{{ps4_date_ru_2|}}}|{{{ps4_rrp_ru_2|?}}}|{{{ps4_code_ru_2|?}}}|type={{{ps4_type_ru_2|}}}}}
| |
− | {{releasesRow|PS4|BR|{{{ps4_date_br|}}}|{{{ps4_rrp_br|?}}}|{{{ps4_code_br|?}}}}}
| |
− | {{releasesRow|PS4|KR|{{{ps4_date_kr|}}}|{{{ps4_rrp_kr|?}}}|{{{ps4_code_kr|?}}}}}
| |
− | {{releasesRow|PS4|KR|{{{ps4_date_kr_d|}}}|{{{ps4_rrp_kr_d|?}}}|{{{ps4_code_kr_d|?}}}|type=Download}}
| |
− | {{releasesRow|PS4|KR|{{{ps4_date_kr_1|}}}|{{{ps4_rrp_kr_1|?}}}|{{{ps4_code_kr_1|?}}}|type={{{ps4_type_kr_1|}}}}}
| |
− | {{releasesRow|PS4|KR|{{{ps4_date_kr_2|}}}|{{{ps4_rrp_kr_2|?}}}|{{{ps4_code_kr_2|?}}}|type={{{ps4_type_kr_2|}}}}}
| |
− | {{releasesRow|PS4|TW|{{{ps4_date_tw|}}}|{{{ps4_rrp_tw|?}}}|{{{ps4_code_tw|?}}}}}
| |
− | {{releasesRow|PS4|CA|{{{ps4_date_ca|}}}|{{{ps4_rrp_ca|?}}}|{{{ps4_code_ca|?}}}}}
| |
− | |-
| |
− | | style="display:none" |
| |
− | <!-- Games -->
| |
− | {{#ifeq: {{#var:type}} | 0 |
| |
| | | |
− | {{#if: {{{ps4_date_jp|}}}{{{ps4_date_us|}}}{{{ps4_date_eu|}}}{{{ps4_date_uk|}}}{{{ps4_date_au|}}}{{{ps4_date_kr|}}}{{{ps4_date_tw|}}}{{{ps4_date_jp_d|}}}{{{ps4_date_us_d|}}}{{{ps4_date_eu_d|}}}{{{ps4_date_uk_d|}}}{{{ps4_date_au_d|}}} | [[Category:PlayStation 4 games]] | + | {{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat | |
− | {{#vardefine:year|{{lowest | + | {{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}} |
− | |{{year|{{{ps4_date_jp}}}}} | + | {{#ifeq:{{#explode:{{#var:typ}}|_|1}}|d|{{#vardefine:downloadable|true}}|{{#vardefine:retail|true}}}} |
− | |{{year|{{{ps4_date_us}}}}} | + | {{releasesRowPlus |
− | |{{year|{{{ps4_date_eu}}}}} | + | | console=PS4 |
− | |{{year|{{{ps4_date_uk}}}}}
| + | | region={{uc:{{#var:rgn}}}} |
− | |{{year|{{{ps4_date_au}}}}} | + | | date={{#var:dat}} |
− | |{{year|{{{ps4_date_kr}}}}}
| + | | price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}} |
− | |{{year|{{{ps4_date_tw}}}}} | + | | currency= |
− | |{{year|{{{ps4_date_jp_d}}}}}
| + | | code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} |
− | |{{year|{{{ps4_date_us_d}}}}} | + | | type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}} |
− | |{{year|{{{ps4_date_eu_d}}}}}
| + | |tb|d_tb=The Best |
− | |{{year|{{{ps4_date_uk_d}}}}} | + | |stb=[[Sega the Best]] |
− | |{{year|{{{ps4_date_au_d}}}}}
| + | |d= |
− | |{{year|{{{ps4_date_kr_d}}}}} | + | |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#replace:{{#var:typ2}}|d_}}}} |
− | }}}}
| + | }} |
− | {{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PlayStation 4 games]] }} | + | | download={{#ifeq:{{#explode:{{#var:typ}}|_|1}}|d|yes}} |
− | | }}
| + | }} |
| + | }} |
| | | |
− | {{#if: {{{ps4_date_jp_d|}}}{{{ps4_date_us_d|}}}{{{ps4_date_eu_d|}}}{{{ps4_date_uk_d|}}}{{{ps4_date_au_d|}}} | | + | {{incvar|j}} |
− | {{#if: {{{ps4_date_jp|}}}{{{ps4_date_us|}}}{{{ps4_date_eu|}}}{{{ps4_date_uk|}}}{{{ps4_date_au|}}}{{{ps4_date_kr|}}} | | + | }} |
− | | [[Category:Download-only PlayStation 4 games]] }} | + | {{incvar|i}} |
− | | }}
| + | }} |
− | | + | {{#switch:{{#var:type}} |
− | | }}
| + | | 0=[[Category:PlayStation 4 games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PlayStation 4 games]]}}{{#if:{{#var:downloadable}}|{{#if:{{#var:retail}}||[[Category:Download-only PlayStation 4 games]]}}}} |
− | | + | | 1=[[Category:PlayStation 4 accessories]] |
− | <!-- Accessories -->
| + | | 2= |
− | {{#ifeq: {{#var:type}} | 1 | [[Category:PlayStation 4 accessories]] | }}
| + | }} |
− | | |
− | <!-- Consoles -->
| |
− | {{#ifeq: {{#var:type}} | 2 | | }}
| |
− | | |
− | |-
| |
− | | style="display:none" |
| |
− | |-
| |
| </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> |