Difference between revisions of "ReleasesAI"

From Sega Retro

(Created page with "<includeonly>{{#vardefine:syslist|AI}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{clearvar|retail}}{{#vardefine:year|9999}} {{#vardefine:i|0}}{{#while: | {{#vardefine:sys|{{#e...")
 
m (Text replacement - "{{#ifeq:{{#var:year}}\|9999\|\|\[\[Category:{{#var:year}} (.*) games\]\]\[\[Category:All {{#var:year}} games\]\]}}" to "{{ReleasesYearCheck|{{#var:year}}|$1}}")
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:syslist|AI}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{clearvar|retail}}{{#vardefine:year|9999}}
+
<includeonly>{{#vardefine:syslist|ai}}{{#vardefine:rgnlist|{{Regions/Classic}}}}{{clearvar|retail}}{{#vardefine:year|9999}}
 
{{#vardefine:i|0}}{{#while:
 
{{#vardefine:i|0}}{{#while:
 
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
 
| {{#vardefine:sys|{{#explode:{{#var:syslist}}|,|{{#var:i}}}}}}{{#var:sys}}
Line 31: Line 31:
 
}}
 
}}
 
{{#switch:{{#var:type}}
 
{{#switch:{{#var:type}}
| 0=[[Category:AI Computer games]]{{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} AI Computer games]][[Category:All {{#var:year}} games]]}}
+
| 0=[[Category:AI Computer games]]{{ReleasesYearCheck|{{#var:year}}|AI Computer}}
 
| 1=[[Category:AI Computer accessories]]
 
| 1=[[Category:AI Computer accessories]]
 
| 2=
 
| 2=

Latest revision as of 11:38, 14 August 2023

See Template:Releases/Usage for how to use.