Difference between revisions of "ReleasesDigital"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:syslist|gog,macapp,steam,steam64,steamlinux,steamosx}}{{#vardefine:rgnlist|{{Regions/Mobile}}}}{{clearvar|gog|macapp|steam|steam64|steamlinux|steamosx}}{{#vardefine:year|9999}} | + | <includeonly>{{#vardefine:syslist|gog,macapp,steam,steam64,steamlinux,steamosx,win8}}{{#vardefine:rgnlist|{{Regions/Mobile}}}}{{clearvar|gog|macapp|steam|steam64|steamlinux|steamosx|win8}}{{#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}}|gog={{#vardefine:gog|true}}|macapp={{#vardefine:macapp|true}}|steam={{#vardefine:steam|true}}|steam64={{#vardefine:steam|true}}{{#vardefine:steam64|true}}|steamlinux={{#vardefine:steamlinux|true}}|steamosx={{#vardefine:steamosx|true}}}} | + | {{#switch:{{#var:sys}}|gog={{#vardefine:gog|true}}|macapp={{#vardefine:macapp|true}}|steam={{#vardefine:steam|true}}|steam64={{#vardefine:steam|true}}{{#vardefine:steam64|true}}|steamlinux={{#vardefine:steamlinux|true}}|steamosx={{#vardefine:steamosx|true}}|win8={{#vardefine:win8|true}}}} |
{{releasesRowPlus | {{releasesRowPlus | ||
− | | console={{#switch:{{#var:sys}}|gog=GOG|macapp=MacApp|steam|steam64=Steam|steamlinux=SteamLinux|steamosx=SteamOSX}} | + | | console={{#switch:{{#var:sys}}|gog=GOG|macapp=MacApp|steam|steam64=Steam|steamlinux=SteamLinux|steamosx=SteamOSX|win8=Win8}} |
| region={{uc:{{#var:rgn}}}} | | region={{uc:{{#var:rgn}}}} | ||
| date={{#var:dat}} | | date={{#var:dat}} | ||
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]]}} | + | | 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:win8}}|[[Category:Windows 8 games]]}} |
| 1= | | 1= | ||
| 2= | | 2= |
Revision as of 20:58, 4 December 2019
See Template:Releases/Usage for how to use.