Difference between revisions of "ReleasesPSP"
From Sega Retro
m (Text replacement - "0=\[\[Category:(.*) games\]\]" to "0=Category:$1 games{{genre2cat|$1|notsega=yes}}") |
|||
(23 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{#vardefine:syslist|psp}}{{#vardefine:rgnlist|{{Regions/Modern}}}}{{clearvar|retail|downloadable}}{{#vardefine:year|9999}} |
− | {{ | + | {{#vardefine:i|0}}{{#while: |
− | {{ | + | | {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}} |
− | + | | | |
− | + | {{#vardefine:j|0}}{{#while: | |
− | + | | {{#vardefine:rgn|{{#explode:{{#var:rgnlist}}|,|{{#var:j}}}}}}{{#var:rgn}} | |
− | {{ | + | | |
− | |||
− | {{ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if: {{{ | + | {{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | 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 |
− | |{{ | + | | console=PSP |
− | |{{ | + | | region={{uc:{{#var:rgn}}}} |
− | |{{ | + | | date={{#var:dat}} |
− | }}}} | + | | price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}} |
− | {{#ifeq: {{#var: | + | | 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}} |
− | + | }} | |
− | + | {{incvar|i}} | |
− | {{# | + | }} |
− | + | {{#switch:{{#var:type}} | |
− | + | | 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]]}}}} | |
− | {{# | + | | 1=[[Category:PlayStation Portable accessories]] |
− | + | | 2= | |
− | | | + | }} |
</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 06:44, 15 July 2024
See Template:Releases/Usage for how to use.