Difference between revisions of "ReleasesPico"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{#vardefine:syslist|pico,copera}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{clearvar|pico|copera}}{{#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}} | |
− | {{ | + | | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{# | + | {{#forargs: {{#var:sys}}_date_{{#var:rgn}} | typ | dat | |
− | |{{year|{{{ | + | {{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}} |
− | |{{ | + | {{#switch:{{#var:sys}}|pico={{#vardefine:pico|true}}|copera={{#vardefine:copera|true}}}} |
− | |{{ | + | {{releasesRowPlus |
− | |{{ | + | | console=Pico |
− | |{{ | + | | region={{uc:{{#var:rgn}}}} |
− | |{{ | + | | date={{#var:dat}} |
− | |{{ | + | | price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}} |
− | }}}} | + | | currency= |
− | {{# | + | | code={{{{{#var:sys}}_code_{{#var:rgn}}{{#var:typ}}|}}} |
+ | | code2={{{{{#var:sys}}_code2_{{#var:rgn}}{{#var:typ}}|}}} | ||
+ | | type={{#vardefine:typ2|{{#sub:{{#var:typ}}|1}}}}{{#switch:{{#var:typ2}} | ||
+ | |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ2}}}} | ||
+ | }} | ||
+ | | download= | ||
+ | | rating={{{{{#var:sys}}_rating_{{#var:rgn}}{{#var:typ}}|}}} | ||
+ | }} | ||
+ | }} | ||
− | {{ | + | {{incvar|j}} |
− | + | }} | |
− | | }} | + | {{incvar|i}} |
− | + | }} | |
− | + | {{#switch:{{#var:type}} | |
− | {{#ifeq: {{#var: | + | | 0={{#if:{{#var:pico}}|[[Category:Pico games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} Pico games]]}}{{genre2cat|Pico}}}}{{#if:{{#var:copera}}|[[Category:Copera games]]}} |
− | + | | 1=[[Category:Pico accessories]] | |
− | + | | 2=[[Category:Pico hardware]] | |
− | {{# | + | }} |
− | |||
− | | | ||
− | | | ||
− | |||
</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> |
Revision as of 23:52, 14 December 2020
See Template:Releases/Usage for how to use.