Difference between revisions of "ReleasesPCE"
From NEC Retro
Lukdriver14 (talk | contribs) m |
(added ReleasesYearCheck) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{#vardefine:syslist|pce,am}}{{#vardefine:rgnlist|{{Regions/Classic}},world}}{{clearvar|aftermarket}}{{#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}}}} |
− | |{{ | + | {{#switch:{{#var:sys}}|am={{#vardefine:aftermarket|true}}}} |
− | |{{ | + | {{releasesRowPlus |
− | |{{ | + | | console=PCE |
− | }}}} | + | | region={{#switch:{{#var:rgn}}|world=World|{{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}} |
− | + | | 0=[[Category:PC Engine games]]{{ReleasesYearCheck|{{#var:year}}|PC Engine}}{{genre2cat|PC Engine}}{{#if:{{#var:aftermarket}}|[[Category:PC Engine aftermarket games]]}} | |
− | | | + | | 1=[[Category:PC Engine accessories]] |
− | | | + | | 2=[[Category:PC Engine hardware]] |
− | | | + | }}{{#vardefine:pcerelease|true}} |
</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 14:10, 4 July 2024
See Template:Releases/Usage for how to use.