Template:MusicInfobox: Difference between revisions

From vaporwave.wiki
Jump to navigation Jump to search
mNo edit summary
m (adding status mechanic (hopefully all functional!))
Line 49: Line 49:
  | label12 = Tags  
  | label12 = Tags  
  |  data12 = {{{Tags|}}}
  |  data12 = {{{Tags|}}}
  |header13 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}}
  | label13 = Status
  | label14 = Previous Release  
|  data13 = {{#if:{{{Status|}}}|{{#switch: {{{Status}}}|Offline={{Status|Offline}}}}|Online}}
  |  data14 = {{{PrevRelease|}}}
|header14 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}}
  | label15 = Next Release  
  | label15 = Previous Release  
  |  data15 = {{{NextRelease|}}}
  |  data15 = {{{PrevRelease|}}}
  |header16 = {{{Artist2B|}}}
  | label16 = Next Release  
  | label17 = Previous Release  
  |  data16 = {{{NextRelease|}}}
  |  data17 = {{{PrevReleaseB|}}}
  |header17 = {{{Artist2B|}}}
  | label18 = Next Release  
  | label18 = Previous Release  
  |  data18 = {{{NextReleaseB|}}}
  |  data18 = {{{PrevReleaseB|}}}
  |header19 = {{{Artist2C|}}}
  | label19 = Next Release  
  | label20 = Previous Release  
  |  data19 = {{{NextReleaseB|}}}
  |  data20 = {{{PrevReleaseC|}}}
  |header20 = {{{Artist2C|}}}
  | label21 = Next Release  
  | label21 = Previous Release  
  |  data21 = {{{NextReleaseC|}}}
  |  data21 = {{{PrevReleaseC|}}}
  |header22 = {{{Artist2D|}}}
  | label22 = Next Release  
  | label23 = Previous Release  
  |  data22 = {{{NextReleaseC|}}}
  |  data23 = {{{PrevReleaseD|}}}
  |header23 = {{{Artist2D|}}}
  | label24 = Next Release  
  | label24 = Previous Release  
  |  data24 = {{{NextReleaseD|}}}
  |  data24 = {{{PrevReleaseD|}}}
  | label25 = Next Release  
  |  data25 = {{{NextReleaseD|}}}
}}</includeonly><noinclude>
}}</includeonly><noinclude>
==Usage==
==Usage==
Line 79: Line 81:
|Label = {{Label|label}}
|Label = {{Label|label}}
|CatalogNumber = cat #
|CatalogNumber = cat #
|Formats = places online and offline
|Formats = {{Format|bandcamp or soundcloud can go here}}<br>{{Format|and physicals!}}
|Date = {{ReleaseDate|XXXX-XX-XX}}
|Date = {{ReleaseDate|XXXX-XX-XX}}
|Tracks = XX
|Tracks = XX
|Length = X:XX:XX
|Length = X:XX:XX
|Tags = bandcamp; or; soundcloud; separated; by; semicolons (except country-based tags)
|Tags = bandcamp; or; soundcloud; separated; by; semicolons (except country-based tags)
|Status = (keep this blank unless the release was made private somewhere! in that case use "offline" or "{{Status|Offline}}" when u gotta specify where it was taken offline and where it's still accessible!)
|Artist2 = {{Artist|this should match the artist field}}
|Artist2 = {{Artist|this should match the artist field}}
|PrevRelease = [[unless this is a v/a release in this case skip this]]
|PrevRelease = [[unless this is a v/a release in this case skip this]]
Line 97: Line 100:
|Title = Test Release
|Title = Test Release
|Cover = VektroidPhoto.jpg
|Cover = VektroidPhoto.jpg
|Artist = {{Artist|Vektroid|Test Artist}} & {{Artist|Vektroid|Also Test Artist}}
|Artist = {{Artist|Test Artist}} & {{Artist|Also Test Artist}}
|ReleaseType = [[:Category:Albums|Album]]
|ReleaseType = Album
|Label = {{Label|fortune 500}} (Removed)
|Label = {{Label|fortune 500}} (Removed)
|CatalogNumber = TEST001
|CatalogNumber = TEST001
|Formats = [[File:BandcampIcon.png|left]] Bandcamp Album<br>(Test)<br>
|Formats = {{Format|Bandcamp}} Album<br>(Test)<br>
[[File:SoundCloudIcon.png|left]] SoundCloud Single<br>(Test Track 780)<br>
{{Format|Cassette}}
[[:Category:Releases on Cassette|Cassette]]
|Date = {{ReleaseDate|2011-06-09|C}} (Digital)<br>{{ReleaseDate|2013-12-12}} (Cassette)
|Date = {{ReleaseDate|2011-06-09}}
|Tracks = 12
|Tracks = 12
|Length = 4:20:20 (Digital)<br>
|Length = 4:20:20 (Digital)<br>4:20 (Cassette)
4:20 (Cassette)
|Tags = a; b; c; test
|Tags = a; b; c; test
|Artist2 = {{Artist|Vektroid|Test Artist}}
|Status= {{Status|On}} (Test Artist)<br>{{Status|On}} (Also Test Artist)<br>{{Status|Off}} (fortune 500)
|PrevRelease = [[the music of the now age|Release One]]
|Artist2 = {{Artist|Test Artist}}
|PrevRelease = [[Release One]]
|Artist2B = {{Artist|Vektroid|Also Test Artist}}
|Artist2B = {{Artist|Vektroid|Also Test Artist}}
|NextReleaseB = [[the music of the now age|Release Two]]
|NextReleaseB = [[Release Two]]
|Artist2C = "Test Release" Series
|Artist2C = "Test Release" Series
|PrevReleaseC = [[the music of the now age|not a test release]]
|PrevReleaseC = [[not a test release]]
|NextReleaseC = [[the music of the now age|TEST RELEASE II]]
|NextReleaseC = [[TEST RELEASE II]]
}}</pre>
}}</pre>
</noinclude>
</noinclude>

Revision as of 05:02, 3 August 2020

Usage

{{MusicInfobox
|Title = update this only when non-title data is in page name!
|Cover = cover.png (or jpg)
|Artist = {{Artist|artist name|artist rendering}}
|ReleaseType = release type
|Label = {{Label|label}}
|CatalogNumber = cat #
|Formats = {{Format|bandcamp or soundcloud can go here}}<br>{{Format|and physicals!}}
|Date = {{ReleaseDate|XXXX-XX-XX}}
|Tracks = XX
|Length = X:XX:XX
|Tags = bandcamp; or; soundcloud; separated; by; semicolons (except country-based tags)
|Status = (keep this blank unless the release was made private somewhere! in that case use "offline" or "{{Status|Offline}}" when u gotta specify where it was taken offline and where it's still accessible!)
|Artist2 = {{Artist|this should match the artist field}}
|PrevRelease = [[unless this is a v/a release in this case skip this]]
|NextRelease = [[unless that's part of a series in that case u can use this]]
|Artist2B = {{Artist|for use in splits/collaborative releases! or if an artist's album is part of a series}}
|PrevReleaseB = [[you can skip "PrevRelease"s if this is the first release]]
|NextReleaseB = [[or "NextRelease"s if this is the latest!]] (there are C and D sets in case of emergency)
}}

Example

{{MusicInfobox
|Title = Test Release
|Cover = VektroidPhoto.jpg
|Artist = {{Artist|Test Artist}} & {{Artist|Also Test Artist}}
|ReleaseType = Album
|Label = {{Label|fortune 500}} (Removed)
|CatalogNumber = TEST001
|Formats = {{Format|Bandcamp}} Album<br>(Test)<br>
{{Format|Cassette}}
|Date = {{ReleaseDate|2011-06-09|C}} (Digital)<br>{{ReleaseDate|2013-12-12}} (Cassette)
|Tracks = 12
|Length = 4:20:20 (Digital)<br>4:20 (Cassette)
|Tags = a; b; c; test
|Status= {{Status|On}} (Test Artist)<br>{{Status|On}} (Also Test Artist)<br>{{Status|Off}} (fortune 500)
|Artist2 = {{Artist|Test Artist}}
|PrevRelease = [[Release One]]
|Artist2B = {{Artist|Vektroid|Also Test Artist}}
|NextReleaseB = [[Release Two]]
|Artist2C = "Test Release" Series
|PrevReleaseC = [[not a test release]]
|NextReleaseC = [[TEST RELEASE II]]
}}