Actions

Template

Difference between revisions of "ReleasesPS3"

From NEC Retro

(Created page with "<includeonly>{{releasesRow|PS3|JP|{{{ps3_date_jp|}}}|¥{{{ps3_rrp_jp|?}}}|{{{ps3_code_jp|?}}}}} {{releasesRow|PS3|JP|{{{ps3_date_jp_1|}}}|¥{{{ps3_rrp_jp_1|?}}}|{{{ps3_code_jp...")
 
 
Line 1: Line 1:
<includeonly>{{releasesRow|PS3|JP|{{{ps3_date_jp|}}}|¥{{{ps3_rrp_jp|?}}}|{{{ps3_code_jp|?}}}}}
+
<includeonly>{{#vardefine:syslist|ps3}}{{#vardefine:rgnlist|{{Regions/Modern}}}}{{clearvar|retail|downloadable}}{{#vardefine:year|9999}}
{{releasesRow|PS3|JP|{{{ps3_date_jp_1|}}}|¥{{{ps3_rrp_jp_1|?}}}|{{{ps3_code_jp_1|?}}}|type={{{ps3_type_jp_1|}}}}}
+
{{#vardefine:i|0}}{{#while:
{{releasesRow|PS3|JP|{{{ps3_date_jp_2|}}}|¥{{{ps3_rrp_jp_2|?}}}|{{{ps3_code_jp_2|?}}}|type={{{ps3_type_jp_2|}}}}}
+
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
{{releasesRow|PS3|JP|{{{ps3_date_jp_3|}}}|¥{{{ps3_rrp_jp_3|?}}}|{{{ps3_code_jp_3|?}}}|type={{{ps3_type_jp_3|}}}}}
+
|  
{{releasesRow|PS3|JP|{{{psn_date_jp|}}}|¥{{{psn_rrp_jp|?}}}|{{{psn_code_jp|?}}}|type=Download}}
+
{{#vardefine:j|0}}{{#while:
{{releasesRow|PS3|JP|{{{ps3_date_jp_d|}}}|¥{{{ps3_rrp_jp_d|?}}}|{{{ps3_code_jp_d|?}}}|type=Download}}
+
| {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}}
{{releasesRow|PS3|US|{{{ps3_date_us|}}}|${{{ps3_rrp_us|?}}}|{{{ps3_code_us|?}}}}}
+
|  
{{releasesRow|PS3|US|{{{ps3_date_us_1|}}}|${{{ps3_rrp_us_1|?}}}|{{{ps3_code_us_1|?}}}|type={{{ps3_type_us_1}}}}}
 
{{releasesRow|PS3|US|{{{ps3_date_us_gh|}}}|${{{ps3_rrp_us_gh|?}}}|{{{ps3_code_us_gh|?}}}|type=Greatest Hits}}
 
{{releasesRow|PS3|US|{{{psn_date_us|}}}|${{{psn_rrp_us|?}}}|{{{psn_code_us|?}}}|type=Download}}
 
{{releasesRow|PS3|US|{{{ps3_date_us_d|}}}|${{{ps3_rrp_us_d|?}}}|{{{ps3_code_us_d|?}}}|type=Download}}
 
{{releasesRow|PS3|US|{{{psn_date_us_1|}}}|${{{psn_rrp_us_1|?}}}|{{{psn_code_us_1|?}}}|type={{{psn_type_us_1}}}}}
 
{{releasesRow|PS3|EU|{{{ps3_date_eu|}}}|£{{{ps3_rrp_uk|?}}} €{{{ps3_rrp_eu|?}}}|{{{ps3_code_eu|?}}}}}
 
{{releasesRow|PS3|EU|{{{ps3_date_eu_e|}}}|£{{{ps3_rrp_uk_e|?}}} €{{{ps3_rrp_eu_e|?}}}|{{{ps3_code_eu_e|?}}}|type=Essentials}}
 
{{releasesRow|PS3|EU|{{{ps3_date_eu_p|}}}|£{{{ps3_rrp_uk_p|?}}} €{{{ps3_rrp_eu_p|?}}}|{{{ps3_code_eu_p|?}}}|type=Platinum}}
 
{{releasesRow|PS3|EU|{{{psn_date_eu|}}}|£{{{psn_rrp_uk|?}}} €{{{psn_rrp_eu|?}}}|{{{psn_code_eu|?}}}|type=Download}}
 
{{releasesRow|PS3|EU|{{{ps3_date_eu_d|}}}|£{{{ps3_rrp_uk_d|?}}} €{{{ps3_rrp_eu_d|?}}}|{{{ps3_code_eu_d|?}}}|type=Download}}
 
{{releasesRow|PS3|AU|{{{ps3_date_au|}}}|${{{ps3_rrp_au|?}}}|{{{ps3_code_au|?}}}}}
 
{{releasesRow|PS3|AU|{{{ps3_date_au_e|}}}|${{{ps3_rrp_au_e|?}}}|{{{ps3_code_au_e|?}}}|type=Essentials}}
 
{{releasesRow|PS3|AU|{{{psn_date_au|}}}|${{{psn_rrp_au|?}}}|{{{psn_code_au|?}}}|type=Download}}
 
{{releasesRow|PS3|AU|{{{ps3_date_au_d|}}}|${{{ps3_rrp_au_d|?}}}|{{{ps3_code_au_d|?}}}|type=Download}}
 
{{releasesRow|PS3|KR|{{{ps3_date_kr|}}}|₩{{{ps3_rrp_kr|?}}}|{{{ps3_code_kr|?}}}}}
 
{{releasesRow|PS3|KR|{{{psn_date_kr|}}}|₩{{{psn_rrp_kr|?}}}|{{{psn_code_kr|?}}}|type=Download}}
 
{{releasesRow|PS3|KR|{{{ps3_date_kr_d|}}}|₩{{{ps3_rrp_kr_d|?}}}|{{{ps3_code_kr_d|?}}}|type=Download}}
 
{{releasesRow|PS3|TW|{{{ps3_date_tw|}}}|NT${{{ps3_rrp_tw|?}}}|{{{ps3_code_tw|?}}}}}
 
{{releasesRow|PS3|AS|{{{ps3_date_as|}}}|{{{ps3_rrp_as|?}}}|{{{ps3_code_as|?}}}}}
 
|-
 
| style="display:none" |
 
<!-- Games -->
 
{{#ifeq: {{#var:type}} | 0 |  
 
  
{{#if: {{{ps3_date_jp|}}}{{{ps3_date_us|}}}{{{ps3_date_eu|}}}{{{ps3_date_au|}}}{{{ps3_date_kr|}}}{{{ps3_date_tw|}}}{{{psn_date_jp|}}}{{{psn_date_us|}}}{{{psn_date_eu|}}}{{{psn_date_au|}}}{{{psn_date_kr|}}}{{{ps3_date_jp_d|}}}{{{ps3_date_us_d|}}}{{{ps3_date_eu_d|}}}{{{ps3_date_au_d|}}}{{{ps3_date_kr_d|}}} | [[Category:PlayStation 3 games]]
+
{{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat |
{{#vardefine:year|{{lowest
+
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
|{{year|{{{ps3_date_jp}}}}}
+
{{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}}
|{{year|{{{ps3_date_us}}}}}
+
{{#ifeq:{{#var:typ1}}|d|{{#vardefine:downloadable|true}}|{{#vardefine:retail|true}}}}
|{{year|{{{ps3_date_eu}}}}}
+
{{releasesRowPlus
|{{year|{{{ps3_date_au}}}}}
+
| console=PS3
|{{year|{{{ps3_date_kr}}}}}
+
| region={{uc:{{#var:rgn}}}}
|{{year|{{{ps3_date_tw}}}}}
+
| date={{#var:dat}}
|{{year|{{{ps3_date_jp_d}}}}}
+
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
|{{year|{{{ps3_date_us_d}}}}}
+
| currency=
|{{year|{{{ps3_date_eu_d}}}}}
+
| code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}}
|{{year|{{{ps3_date_au_d}}}}}
+
| code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}}
|{{year|{{{ps3_date_kr_d}}}}}
+
| type={{#switch:{{#var:typ1}}
|{{year|{{{psn_date_jp}}}}}
+
  |tb=The Best
|{{year|{{{psn_date_us}}}}}
+
  |stb=[[Sega the Best]]
|{{year|{{{psn_date_eu}}}}}
+
  |gh=Greatest Hits
|{{year|{{{psn_date_au}}}}}
+
  |e=Essentials
|{{year|{{{psn_date_kr}}}}}
+
  |p=Platinum
}}}}
+
  |bh=BigHit
{{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PlayStation 3 games]] }}
+
  |d={{#switch:{{#var:typ2}}|tb=The Best|{{#var:typ2}}}}
| }}
+
  |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ1}}}}
 +
  }}
 +
| download={{#ifeq:{{#var:typ1}}|d|yes}}
 +
| rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}}
 +
}}
 +
}}
  
{{#if: {{{psn_date_jp|}}}{{{psn_date_us|}}}{{{psn_date_eu|}}}{{{psn_date_au|}}}{{{psn_date_kr|}}}{{{ps3_date_jp_d|}}}{{{ps3_date_us_d|}}}{{{ps3_date_eu_d|}}}{{{ps3_date_au_d|}}}{{{ps3_date_kr_d|}}} |
+
{{incvar|j}}
{{#if: {{{ps3_date_jp|}}}{{{ps3_date_us|}}}{{{ps3_date_eu|}}}{{{ps3_date_au|}}}{{{ps3_date_kr|}}} |
+
}}
| [[Category:Download-only PlayStation 3 games]] }}
+
{{incvar|i}}
| }}
+
}}
 
+
{{#switch:{{#var:type}}
| }}
+
| 0=[[Category:PlayStation 3 games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PlayStation 3 games]]}}{{#if:{{#var:downloadable}}|{{#if:{{#var:retail}}||[[Category:Download-only PlayStation 3 games]]}}}}
 
+
| 1=[[Category:PlayStation 3 accessories]]
<!-- Accessories -->
+
| 2=
{{#ifeq: {{#var:type}} | 1 | [[Category:PlayStation 3 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>

Latest revision as of 08:27, 31 December 2021

See Template:Releases/Usage for how to use.