Actions

Template

Difference between revisions of "ReleasesCD"

From NEC Retro

(added ReleasesYearCheck)
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
| region={{uc:{{#var:rgn}}}}
 
| region={{uc:{{#var:rgn}}}}
 
| date={{#var:dat}}
 
| date={{#var:dat}}
 +
| packageprice={{{{{#var:sys}}_package_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
 
| currency=
 
| currency=
Line 31: Line 32:
 
}}
 
}}
 
{{#switch:{{#var:type}}
 
{{#switch:{{#var:type}}
| 0={{#if:{{#var:cdrom2}}|[[Category:CD-ROM² games]]{{genre2cat|CD-ROM²}}}}{{
+
| 0={{#if:{{#var:cdrom2}}|[[Category:CD-ROM² games]]{{ReleasesYearCheck|{{#var:year}}|CD-ROM²}}{{genre2cat|CD-ROM²}}}}{{
#if:{{#var:scdrom2}}|[[Category:Super CD-ROM² games]]{{genre2cat|Super 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]]{{genre2cat|Arcade CD-ROM²}}}}
+
#if:{{#var:acdrom2}}|[[Category:Arcade CD-ROM² games]]{{ReleasesYearCheck|{{#var:year}}|Arcade CD-ROM²}}{{genre2cat|Arcade CD-ROM²}}}}
 
| 1=[[Category:CD-ROM² systems accessories]]
 
| 1=[[Category:CD-ROM² systems accessories]]
 
| 2=[[Category:CD-ROM² systems hardware]]
 
| 2=[[Category:CD-ROM² systems hardware]]

Latest revision as of 14:13, 4 July 2024

See Template:Releases/Usage for how to use.