Actions

Template

Difference between revisions of "ReleasesDigital"

From NEC Retro

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}}|epic64={{#vardefine:epic64|true}}|gametap={{#vardefine:gametap|true}}|gog|gog64={{#vardefine:gog|true}}|macapp={{#vardefine:macapp|true}}|realone={{#vardefine:realone|true}}|steam={{#vardefine:steam|true}}|steam64={{#vardefine:steam|true}}{{#vardefine:steam64|true}}|steamlinux={{#vardefine:steamlinux|true}}|steamosx={{#vardefine:steamosx|true}}|win8={{#vardefine:win8|true}}}}|projectegg={{#vardefine:projectegg|true}}}}
+
{{#switch:{{#var:sys}}|epic64={{#vardefine:epic64|true}}|gametap={{#vardefine:gametap|true}}|gog|gog64={{#vardefine:gog|true}}|macapp={{#vardefine:macapp|true}}|realone={{#vardefine:realone|true}}|steam={{#vardefine:steam|true}}|steam64={{#vardefine:steam|true}}{{#vardefine:steam64|true}}|steamlinux={{#vardefine:steamlinux|true}}|steamosx={{#vardefine:steamosx|true}}|win8={{#vardefine:win8|true}}|projectegg={{#vardefine:projectegg|true}}}}
 
{{releasesRowPlus
 
{{releasesRowPlus
 
| console={{#switch:{{#var:sys}}|epic64=Epic|gametap=GameTap|gog|gog64=GOG|macapp=MacApp|realone=RealOne|steam|steam64=Steam|steamlinux=SteamLinux|steamosx=SteamOSX|win8=Win8|projectegg=ProjectEGG}}
 
| console={{#switch:{{#var:sys}}|epic64=Epic|gametap=GameTap|gog|gog64=GOG|macapp=MacApp|realone=RealOne|steam|steam64=Steam|steamlinux=SteamLinux|steamosx=SteamOSX|win8=Win8|projectegg=ProjectEGG}}
Line 33: Line 33:
 
}}
 
}}
 
{{#switch:{{#var:type}}
 
{{#switch:{{#var:type}}
| 0={{#if:{{#var:steam}}{{#var:steam64}}|[[Category:Steam games]]}}{{#if:{{#var:steam64}}|[[Category:Steam x64 games]]}}{{#if:{{#var:steamlinux}}|[[Category:Steam Linux games]]}}{{#if:{{#var:steamosx}}|[[Category:Steam OS X games]]}}{{#if:{{#var:gog}}|[[Category:GOG games]]}}{{#if:{{#var:macapp}}|[[Category:Mac App Store games]]}}{{#if:{{#var:realone}}|[[Category:RealOne Arcade games]]}}{{#if:{{#var:win8}}|[[Category:Windows 8 games]]}}{{#if:{{#var:epic64}}|[[Category:Epic Games Store games]]}}{{#if:{{#var:gametap}}|[[Category:GameTap games]]}}}{{#if:{{#var:project egg}}|[[Category:Project Egg games]]}}
+
| 0={{#if:{{#var:steam}}{{#var:steam64}}|[[Category:Steam games]]}}{{#if:{{#var:steam64}}|[[Category:Steam x64 games]]}}{{#if:{{#var:steamlinux}}|[[Category:Steam Linux games]]}}{{#if:{{#var:steamosx}}|[[Category:Steam OS X games]]}}{{#if:{{#var:gog}}|[[Category:GOG games]]}}{{#if:{{#var:macapp}}|[[Category:Mac App Store games]]}}{{#if:{{#var:realone}}|[[Category:RealOne Arcade games]]}}{{#if:{{#var:win8}}|[[Category:Windows 8 games]]}}{{#if:{{#var:epic64}}|[[Category:Epic Games Store games]]}}{{#if:{{#var:gametap}}|[[Category:GameTap games]]}}{{#if:{{#var:project egg}}|[[Category:Project Egg games]]}}}
 
| 1=
 
| 1=
 
| 2=
 
| 2=

Revision as of 17:21, 5 April 2024

See Template:Releases/Usage for how to use.