|
|
(14 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | <includeonly>{{releasesRow|PSP|JP|{{{psp_date_jp|}}}|{{{psp_rrp_jp|?}}}|{{{psp_code_jp|?}}}}} | + | <includeonly>{{#vardefine:syslist|psp}}{{#vardefine:rgnlist|{{Regions/Modern}}}}{{clearvar|retail|downloadable}}{{#vardefine:year|9999}} |
− | {{releasesRow|PSP|JP|{{{psp_date_jp_d|}}}|{{{psp_rrp_jp_d|?}}}|{{{psp_code_jp_d|?}}}|type=Download}}
| + | {{#vardefine:i|0}}{{#while: |
− | {{releasesRow|PSP|JP|{{{psp_date_jp_tb|}}}|{{{psp_rrp_jp_tb|?}}}|{{{psp_code_jp_tb|?}}}|type=The Best}} | + | | {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}} |
− | {{releasesRow|PSP|JP|{{{psp_date_jp_tbd|}}}|{{{psp_rrp_jp_tbd|?}}}|{{{psp_code_jp_tbd|?}}}|type=The Best Download}}
| + | | |
− | {{releasesRow|PSP|JP|{{{psp_date_jp_stb|}}}|{{{psp_rrp_jp_stb|?}}}|{{{psp_code_jp_stb|?}}}|type=[[Sega the Best]]}}
| + | {{#vardefine:j|0}}{{#while: |
− | {{releasesRow|PSP|JP|{{{psp_date_jp_stbd|}}}|{{{psp_rrp_jp_stbd|?}}}|{{{psp_code_jp_stbd|?}}}|type=[[Sega the Best]] Download}}
| + | | {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}} |
− | {{releasesRow|PSP|JP|{{{psp_date_jp_1|}}}|{{{psp_rrp_jp_1|?}}}|{{{psp_code_jp_1|?}}}|type={{{psp_type_jp_1|}}}}} | + | | |
− | {{releasesRow|PSP|JP|{{{psp_date_jp_2|}}}|{{{psp_rrp_jp_2|?}}}|{{{psp_code_jp_2|?}}}|type={{{psp_type_jp_2|}}}}}
| |
− | {{releasesRow|PSP|JP|{{{psp_date_jp_3|}}}|{{{psp_rrp_jp_3|?}}}|{{{psp_code_jp_3|?}}}|type={{{psp_type_jp_3|}}}}}
| |
− | {{releasesRow|PSP|JP|{{{psp_date_jp_4|}}}|{{{psp_rrp_jp_4|?}}}|{{{psp_code_jp_4|?}}}|type={{{psp_type_jp_4|}}}}}
| |
− | {{releasesRow|PSP|US|{{{psp_date_us|}}}|{{{psp_rrp_us|?}}}|{{{psp_code_us|?}}}}}
| |
− | {{releasesRow|PSP|US|{{{psp_date_us_d|}}}|{{{psp_rrp_us_d|?}}}|{{{psp_code_us_d|?}}}|type=Download}}
| |
− | {{releasesRow|PSP|US|{{{psp_date_us_gh|}}}|{{{psp_rrp_us_gh|?}}}|{{{psp_code_us_gh|?}}}|type=Greatest Hits}}
| |
− | {{releasesRow|PSP|US|{{{psp_date_us_1|}}}|{{{psp_rrp_us_1|?}}}|{{{psp_code_us_1|?}}}|type={{{psp_type_us_1}}}}}
| |
− | {{releasesRow|PSP|EU|{{{psp_date_eu|}}}|£{{{psp_rrp_uk|?}}} €{{{psp_rrp_eu|?}}}|{{{psp_code_eu|?}}}}}
| |
− | {{releasesRow|PSP|EU|{{{psp_date_eu_d|}}}|£{{{psp_rrp_uk_d|?}}} €{{{psp_rrp_eu_d|?}}}|{{{psp_code_eu_d|?}}}|type=Download}}
| |
− | {{releasesRow|PSP|EU|{{{psp_date_eu_e|}}}|£{{{psp_rrp_uk_e|?}}} €{{{psp_rrp_eu_e|?}}}|{{{psp_code_eu_e|?}}}|type=Essentials}}
| |
− | {{releasesRow|PSP|EU|{{{psp_date_eu_p|}}}|£{{{psp_rrp_uk_p|?}}} €{{{psp_rrp_eu_p|?}}}|{{{psp_code_eu_p|?}}}|type=Platinum}}
| |
− | {{releasesRow|PSP|EU|{{{psp_date_eu_1|}}}|£{{{psp_rrp_uk_1|?}}} €{{{psp_rrp_eu_1|?}}}|{{{psp_code_eu_1|?}}}|type={{{psp_type_eu_1}}}}}
| |
− | {{releasesRow|PSP|AU|{{{psp_date_au|}}}|{{{psp_rrp_au|?}}}|{{{psp_code_au|?}}}}}
| |
− | {{releasesRow|PSP|AU|{{{psp_date_au_e|}}}|{{{psp_rrp_au_e|?}}}|{{{psp_code_au_e|?}}}|type=Essentials}}
| |
− | {{releasesRow|PSP|AU|{{{psp_date_au_p|}}}|{{{psp_rrp_au_p|?}}}|{{{psp_code_au_p|?}}}|type=Platinum}}
| |
− | {{releasesRow|PSP|KR|{{{psp_date_kr|}}}|{{{psp_rrp_kr|?}}}|{{{psp_code_kr|?}}}}}
| |
− | {{releasesRow|PSP|TW|{{{psp_date_tw|}}}|NT{{{psp_rrp_tw|?}}}|{{{psp_code_tw|?}}}}}
| |
− | {{releasesRow|PSP|AS|{{{psp_date_as|}}}|{{{psp_rrp_as|?}}}|{{{psp_code_as|?}}}}}
| |
− | |-
| |
− | | style="display:none" |
| |
− | <!-- Games -->
| |
− | {{#ifeq: {{#var:type}} | 0 |
| |
| | | |
− | {{#if: {{{psp_date_jp|}}}{{{psp_date_us|}}}{{{psp_date_eu|}}}{{{psp_date_au|}}}{{{psp_date_kr|}}}{{{psp_date_tw|}}} | [[Category:PlayStation Portable games]] | + | {{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat | |
− | {{#vardefine:year|{{lowest | + | {{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}} |
− | |{{year|{{{psp_date_jp}}}}} | + | {{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}} |
− | |{{year|{{{psp_date_us}}}}} | + | {{#ifeq:{{#var:typ1}}|d|{{#vardefine:downloadable|true}}|{{#vardefine:retail|true}}}} |
− | |{{year|{{{psp_date_eu}}}}} | + | {{releasesRowPlus |
− | |{{year|{{{psp_date_au}}}}} | + | | console=PSP |
− | |{{year|{{{psp_date_kr}}}}} | + | | region={{uc:{{#var:rgn}}}} |
− | |{{year|{{{psp_date_tw}}}}} | + | | date={{#var:dat}} |
− | }}}} | + | | price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}} |
− | {{#ifeq: {{#var:year}} | 9999 | | [[Category:{{#var:year}} PlayStation Portable games]] }} | + | | currency= |
− | | }}
| + | | code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} |
| + | | code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}} |
| + | | type={{#switch:{{#var:typ1}} |
| + | |tb=The Best |
| + | |stb=[[Sega the Best]] |
| + | |gh=Greatest Hits |
| + | |e=Essentials |
| + | |p=Platinum |
| + | |d={{#switch:{{#var:typ2}}|tb=The Best|stb=[[Sega 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}}|}}} |
| + | }} |
| + | }} |
| | | |
− | | }} | + | {{incvar|j}} |
− | | + | }} |
− | <!-- Accessories -->
| + | {{incvar|i}} |
− | {{#ifeq: {{#var:type}} | 1 | [[Category:PlayStation Portable accessories]] | }} | + | }} |
− | | + | {{#switch:{{#var:type}} |
− | <!-- Consoles -->
| + | | 0=[[Category:PlayStation Portable games]]{{genre2cat|PlayStation Portable|notsega=yes}}{{ReleasesYearCheck|{{#var:year}}|PlayStation Portable}}{{#if:{{#var:downloadable}}|{{#if:{{#var:retail}}||[[Category:Download-only PlayStation Portable games]]}}}} |
− | {{#ifeq: {{#var:type}} | 2 | | }} | + | | 1=[[Category:PlayStation Portable accessories]] |
− | | + | | 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> |