Actions

Template

Difference between revisions of "ReleasesPCE"

From NEC Retro

(added ReleasesYearCheck)
 
Line 32: Line 32:
 
}}
 
}}
 
{{#switch:{{#var:type}}
 
{{#switch:{{#var:type}}
| 0=[[Category:PC Engine games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} PC Engine games]][[Category:All {{#var:year}} games]]}}{{genre2cat|PC Engine}}{{#if:{{#var:aftermarket}}|[[Category:PC Engine aftermarket games]]}}
+
| 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]]
 
| 1=[[Category:PC Engine accessories]]
 
| 2=[[Category:PC Engine hardware]]
 
| 2=[[Category:PC Engine hardware]]

Latest revision as of 14:10, 4 July 2024

See Template:Releases/Usage for how to use.