Difference between revisions of "ReleasesCD"
From NEC Retro
(Created page with "<includeonly>{{releasesRow|CDROM2|JP|{{{cd_date_jp|}}}|¥{{{cd_rrp_jp|?}}}|{{{cd_code_jp|?}}}}} {{releasesRow|CDROM2|US|{{{cd_date_us|}}}|${{{cd_rrp_us|?}}}|{{{cd_code_us|?}}}...") |
(added ReleasesYearCheck) |
||
(5 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ | + | <includeonly>{{#vardefine:syslist|cd,cdrom2,scd,scdrom2,acd,acdrom2}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{clearvar|cdrom2|scdrom2|acdrom2}}{{#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}}}}}}}} |
− | |{{ | + | {{#switch:{{#var:sys}}|acdrom2|acd={{#vardefine:acdrom2|true}}|scdrom2|scd={{#vardefine:scdrom2|true}}|{{#vardefine:cdrom2|true}}}} |
− | |{{ | + | {{releasesRowPlus |
− | }}}} | + | | console={{#switch:{{#var:sys}}|acdrom2|acd=ACDROM2|scdrom2|scd=SCDROM2|CDROM2}} |
− | {{# | + | | region={{uc:{{#var:rgn}}}} |
− | | }} | + | | date={{#var:dat}} |
+ | | packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}} | ||
+ | | 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={{#if:{{#var:cdrom2}}|[[Category:CD-ROM² games]]{{ReleasesYearCheck|{{#var:year}}|CD-ROM²}}{{genre2cat|CD-ROM²}}}}{{ |
− | | }} | + | #if:{{#var:scdrom2}}|[[Category:Super CD-ROM² games]]{{ReleasesYearCheck|{{#var:year}}|Super CD-ROM²}}{{genre2cat|Super CD-ROM²}}}}{{ |
− | + | #if:{{#var:acdrom2}}|[[Category:Arcade CD-ROM² games]]{{ReleasesYearCheck|{{#var:year}}|Arcade CD-ROM²}}{{genre2cat|Arcade CD-ROM²}}}} | |
− | {{#if: {{ | + | | 1=[[Category:CD-ROM² systems accessories]] |
− | {{ | + | | 2=[[Category:CD-ROM² systems hardware]] |
− | |{{year | + | }} |
− | }}} | ||
− | {{# | ||
− | | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</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:13, 4 July 2024
See Template:Releases/Usage for how to use.