Difference between revisions of "ReleasesDA"

From Sega Retro

(added OTOTOY)
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:syslist|amazon,bandcamp,itunes,mora,soundcloud,spotify,da}}{{#vardefine:rgnlist|{{Regions/Mobile}}}}{{clearvar|amazon|bandcamp|itunes|mora|soundcloud|spotify|da}}{{#vardefine:year|9999}}
+
<includeonly>{{#vardefine:syslist|amazon,awa,bandcamp,eonkyo,google,itunes,kkbox,line,mora,ototoy,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}}|bandcamp={{#vardefine:bandcamp|true}}|itunes={{#vardefine:itunes|true}}|mora={{#vardefine:mora|true}}|soundcloud={{#vardefine:soundcloud|true}}|spotify={{#vardefine:spotify|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}}|ototoy={{#vardefine:ototoy|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|bandcamp=Bandcamp|itunes=iTunes|mora=Mora|soundcloud=Soundcloud|spotify=Spotify|da=DA}}
+
| console={{#switch:{{#var:sys}}|amazon=Amazon|awa=AWA|bandcamp=Bandcamp|eonkyo=Eonkyo|google=GooglePlay|itunes=iTunes|kkbox=KKBox|line=LINE|mora=Mora|ototoy=OTOTOY|recochoku=RecoChoku|soundcloud=Soundcloud|spotify=Spotify|yt=YouTube|da=DA}}
| region={{uc:{{#var:rgn}}}}
+
| region={{#switch:{{#var:rgn}}|world=World|{{uc:{{#var:rgn}}}}}}
 
| date={{#var:dat}}
 
| date={{#var:dat}}
 
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
 
| price={{{{{#var:sys}}_rrp_{{#var:rgn}}{{#var:typ}}|}}}
Line 20: Line 20:
 
| code2=
 
| code2=
 
| type={{#switch:{{#var:typ1}}
 
| type={{#switch:{{#var:typ1}}
 +
  |h=Hi-res
 
   |s=Streaming
 
   |s=Streaming
 
   |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ1}}}}
 
   |{{#if:{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{{{{#var:sys}}_type_{{#var:rgn}}{{#var:typ}}|}}}|{{#var:typ1}}}}
Line 32: Line 33:
 
{{incvar|i}}
 
{{incvar|i}}
 
}}
 
}}
{{#if:{{#var:amazon}}|[[Category:Amazon audio releases]]}}{{#if:{{#var:bandcamp}}|[[Category:Bandcamp audio releases]]}}{{#if:{{#var:itunes}}|[[Category:iTunes audio releases]]}}{{#if:{{#var:mora}}|[[Category:Mora audio releases]]}}{{#if:{{#var:soundcloud}}|[[Category:Soundcloud audio releases]]}}{{#if:{{#var:spotify}}|[[Category:Spotify 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:ototoy}}|[[Category:OTOTOY 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]]
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
See [[Template:Releases/Usage]] for how to use.
 
See [[Template:Releases/Usage]] for how to use.
  
 
[[Category:Releases templates]]</noinclude>
 
[[Category:Releases templates]]</noinclude>

Latest revision as of 12:27, 2 October 2023

See Template:Releases/Usage for how to use.