Difference between revisions of "ReleasesWeb"

From Sega Retro

 
Line 1: Line 1:
<includeonly>{{#vardefine:syslist|flash,html5,java}}{{#vardefine:rgnlist|{{Regions/Mobile}},world}}{{clearvar|flash|html5|java}}{{#vardefine:year|9999}}
+
<includeonly>{{#vardefine:syslist|flash,html5,java,shockwave}}{{#vardefine:rgnlist|{{Regions/Mobile}},world}}{{clearvar|flash|html5|java|shockwave}}{{#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 10: Line 10:
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{#if:{{#var:dat}}|{{lowest|var=year|{{#var:year}}|{{year|{{#var:dat}}}}}}}}
 
{{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}}
 
{{#vardefine:typ1|{{#explode:{{#var:typ}}|_|1}}}}{{#vardefine:typ2|{{#explode:{{#var:typ}}|_|2}}}}
{{#switch:{{#var:sys}}|flash={{#vardefine:flash|true}}|html5={{#vardefine:html5|true}}|java={{#vardefine:java|true}}}}
+
{{#switch:{{#var:sys}}|flash={{#vardefine:flash|true}}|html5={{#vardefine:html5|true}}|java={{#vardefine:java|true}}|shockwave={{#vardefine:shockwave|true}}}}
 
{{releasesRowPlus
 
{{releasesRowPlus
| console={{#switch:{{#var:sys}}|flash=Flash|html5=HTML5|java=Java}}
+
| console={{#switch:{{#var:sys}}|flash=Flash|html5=HTML5|java=Java|shockwave=Shockwave}}
 
| region={{#switch:{{#var:rgn}}|world=World|{{uc:{{#var:rgn}}}}}}
 
| region={{#switch:{{#var:rgn}}|world=World|{{uc:{{#var:rgn}}}}}}
 
| date={{#var:dat}}
 
| date={{#var:dat}}
Line 32: Line 32:
 
}}
 
}}
 
{{#switch:{{#var:type}}
 
{{#switch:{{#var:type}}
| 0=[[Category:Browser games]]{{#if:{{#var:flash}}|[[Category:Flash browser games]]}}{{#if:{{#var:html5}}|[[Category:HTML5 browser games]]}}{{#if:{{#var:java}}|[[Category:Java browser games]]}}
+
| 0=[[Category:Browser games]]{{#if:{{#var:flash}}|[[Category:Flash browser games]]}}{{#if:{{#var:html5}}|[[Category:HTML5 browser games]]}}{{#if:{{#var:java}}|[[Category:Java browser games]]}}{{#if:{{#var:shockwave}}|[[Category:Shockwave browser games]]}}
 
| 1=
 
| 1=
 
| 2=
 
| 2=

Latest revision as of 15:15, 18 August 2021

See Template:Releases/Usage for how to use.