Difference between revisions of "ReleasesDA"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly>{{#vardefine:syslist|amazon,awa,bandcamp,google,itunes,kkbox,line,mora,recochoku,soundcloud,spotify,yt,da}}{{#vardefine:rgnlist|{{Regions/Mobile}},world}}{{clearvar|amazon|bandcamp|google|itunes|mora|soundcloud|spotify|da}}{{#vardefine:year|9999}} | + | <includeonly>{{#vardefine:syslist|amazon,awa,bandcamp,eonkyo,google,itunes,kkbox,line,mora,recochoku,soundcloud,spotify,yt,da}}{{#vardefine:rgnlist|{{Regions/Mobile}},world}}{{clearvar|amazon|awa|bandcamp|eonkyo|google|itunes|kkbox|line|mora|recochoku|soundcloud|spotify|yt|da}}{{#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}}|amazon={{#vardefine:amazon|true}}|awa={{#vardefine:awa|true}}|bandcamp={{#vardefine:bandcamp|true}}|google={{#vardefine:google|true}}|itunes={{#vardefine:itunes|true}}|kkbox={{#vardefine:kkbox|true}}|line={{#vardefine:line|true}}|mora={{#vardefine:mora|true}}|recochoku={{#vardefine:recochoku|true}}|soundcloud={{#vardefine:soundcloud|true}}|spotify={{#vardefine:spotify|true}}|yt={{#vardefine:yt|true}}|da={{#vardefine:da|true}}}} | + | {{#switch:{{#var:sys}}|amazon={{#vardefine:amazon|true}}|awa={{#vardefine:awa|true}}|bandcamp={{#vardefine:bandcamp|true}}|eonkyo={{#vardefine:eonkyo|true}}|google={{#vardefine:google|true}}|itunes={{#vardefine:itunes|true}}|kkbox={{#vardefine:kkbox|true}}|line={{#vardefine:line|true}}|mora={{#vardefine:mora|true}}|recochoku={{#vardefine:recochoku|true}}|soundcloud={{#vardefine:soundcloud|true}}|spotify={{#vardefine:spotify|true}}|yt={{#vardefine:yt|true}}|da={{#vardefine:da|true}}}} |
{{releasesRowPlus | {{releasesRowPlus | ||
− | | console={{#switch:{{#var:sys}}|amazon=Amazon|awa=AWA|bandcamp=Bandcamp|google=GooglePlay|itunes=iTunes|kkbox=KKBox|line=LINE|mora=Mora|recochoku=RecoChoku|soundcloud=Soundcloud|spotify=Spotify|yt=YouTube|da=DA}} | + | | console={{#switch:{{#var:sys}}|amazon=Amazon|awa=AWA|bandcamp=Bandcamp|eonkyo=Eonkyo|google=GooglePlay|itunes=iTunes|kkbox=KKBox|line=LINE|mora=Mora|recochoku=RecoChoku|soundcloud=Soundcloud|spotify=Spotify|yt=YouTube|da=DA}} |
| 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 33: | Line 33: | ||
{{incvar|i}} | {{incvar|i}} | ||
}} | }} | ||
− | {{#if:{{#var:amazon}}|[[Category:Amazon audio releases]]}}{{#if:{{#var:awa}}|[[Category:AWA audio releases]]}}{{#if:{{#var:bandcamp}}|[[Category:Bandcamp audio releases]]}}{{#if:{{#var:google}}|[[Category:Google Play audio releases]]}}{{#if:{{#var:itunes}}|[[Category:iTunes audio releases]]}}{{#if:{{#var:kkbox}}|[[Category:KKBox audio releases]]}}{{#if:{{#var:line}}|[[Category:LINE audio releases]]}}{{#if:{{#var:mora}}|[[Category:Mora audio releases]]}}{{#if:{{#var:recochoku}}|[[Category:RecoChoku audio releases]]}}{{#if:{{#var:soundcloud}}|[[Category:SoundCloud audio releases]]}}{{#if:{{#var:spotify}}|[[Category:Spotify audio releases]]}}{{#if:{{#var:yt}}|[[Category:YouTube audio releases]]}}{{#if:{{#var:da}}|[[Category:Digital audio releases]]}}{{#switch:{{#var:musictype}} | + | {{#if:{{#var:amazon}}|[[Category:Amazon audio releases]]}}{{#if:{{#var:awa}}|[[Category:AWA audio releases]]}}{{#if:{{#var:bandcamp}}|[[Category:Bandcamp audio releases]]}}{{#if:{{#var:eonkyo}}|[[Category:e-onkyo audio releases]]}}{{#if:{{#var:google}}|[[Category:Google Play audio releases]]}}{{#if:{{#var:itunes}}|[[Category:iTunes audio releases]]}}{{#if:{{#var:kkbox}}|[[Category:KKBox audio releases]]}}{{#if:{{#var:line}}|[[Category:LINE audio releases]]}}{{#if:{{#var:mora}}|[[Category:Mora audio releases]]}}{{#if:{{#var:recochoku}}|[[Category:RecoChoku audio releases]]}}{{#if:{{#var:soundcloud}}|[[Category:SoundCloud audio releases]]}}{{#if:{{#var:spotify}}|[[Category:Spotify audio releases]]}}{{#if:{{#var:yt}}|[[Category:YouTube audio releases]]}}{{#if:{{#var:da}}|[[Category:Digital audio releases]]}}{{#switch:{{#var:musictype}} |
| album={{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} albums]]}}[[Category:Digital albums]] | | album={{#ifeq:{{#var:year}}|9999||[[Category:{{#var:year}} albums]]}}[[Category:Digital albums]] | ||
}}{{#vardefine:audiorelease|true}}[[Category:All audio releases]] | }}{{#vardefine:audiorelease|true}}[[Category:All audio releases]] |
Revision as of 14:24, 10 January 2023
See Template:Releases/Usage for how to use.