Template:MusicInfobox: Difference between revisions

From vaporwave.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(36 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  |abovestyle = background:#cfc;
  |abovestyle = background:#cfc;
  |above        = {{#if: {{{Title|}}} | {{{Title}}} | {{TOPLEVELPAGE}} }}
  |above        = {{#if: {{{Title|}}} | {{{Title}}} | {{TOPLEVELPAGE}} }}
  |  image      = [[File:{{{Cover}}}|300px]]
  |  image      = {{#if: {{{Cover|}}} | [[File:{{{Cover}}}|350px]] | (No cover)}}
  |headerstyle  = background:#ccf;
  |headerstyle  = background:#ccf;
  |labelstyle  = background:#ddf; white-space: nowrap; padding-right: 15px;
  |labelstyle  = background:#ddf; white-space: nowrap; padding-right: 15px;
  |header1 = Information{{#if:{{{SortName|}}}|[[Category:Releases|{{{SortName}}}]]|[[Category:Releases]]}}
  | header1 = {{#if:{{{Assets|}}}|[[{{TOPLEVELPAGE}}/Assets|Assets]]|}}
  | label2 = Artist
  | header2 = Information
  |  data2 = {{#if:{{{Artist|}}}|{{#switch: {{{Artist|}}}|Various Artists=[[:Category:Releases by Various Artists|{{{Artist|}}}]]{{#if:{{{SortName|}}}|[[Category:Releases by Various Artists|{{{SortName}}}]]|[[Category:Releases by Various Artists]]}}|{{Artist|{{{Artist|}}}|C}}}}}}
| label3 = Artist
| label3 = Artists
  |  data3 = [[Category:Releases]]{{#switch: {{{Artist}}}|Various Artists=[[:Category:Releases by Various Artists|{{{Artist}}}]][[Category:Releases by Various Artists]]|{{{Artist}}}}}
|  data3 = {{Artists|{{{Artists}}}}}
  | label4 = Additional Credits  
  | label4 = Artist
  |  data4 = {{{AdditionalCredits|}}}
|  data4 = {{{ArtistRaw|}}}
  | label5 = Release Type  
| label5 = Additional Credits  
  |  data5 = {{#switch: {{{ReleaseType}}}
  |  data5 = {{{AdditionalCredits|}}}
               |Album=[[:Category:Albums|Album]][[Category:Albums]]
  | label6 = Release Type  
               |EP =[[:Category:EPs|EP]][[Category:EPs]]
  |  data6 = {{#switch: {{{ReleaseType}}}
               |Single=[[:Category:Singles|Single]][[Category:Singles]]
               |Album=[[:Category:Albums|Album]]{{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}
               |Mix= [[:Category:Mixes|Mix]][[Category:Mixes]]
               |EP =[[:Category:EPs|EP]]{{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}
               |Compilation=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Compilations|Compilation]][[Category:Compilations]])
               |Single=[[:Category:Singles|Single]]{{#if:{{{SortName|}}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}}
              |Remix Compilation=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Remix Compilations|Remix Compilation]][[Category:Remix Compilations]])
               |Mix= [[:Category:Mixes|Mix]]{{#if:{{{SortName|}}}|[[Category:Mixes|{{{SortName}}}]]|[[Category:Mixes]]}}
               |Album (Collaboration)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
               |Compilation=[[:Category:Albums|Album]] ([[:Category:Compilations|Compilation]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Compilations|{{{SortName}}}]]|[[Category:Compilations]]}}
              |EP (Collaboration)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
               |Album (Collaboration)=[[:Category:Albums|Album]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}}
               |Single (Collaboration)=[[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
               |EP (Collaboration)=[[:Category:EPs|EP]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}}
              |Album (Collection)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Collections|Collection]][[Category:Collections]])
               |Single (Collaboration)=[[:Category:Singles|Single]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}}
               |EP (Collection)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Collections|Collection]][[Category:Collections]])
               |Album (Split)=[[:Category:Albums|Album]] ([[:Category:Splits|Split]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Splits|{{{SortName}}}]]|[[Category:Splits]]}}
              |Album (Split)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Splits|Split]][[Category:Splits]])
               |EP (Split)=[[:Category:EPs|EP]] ([[:Category:Splits|Split]]){{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}{{#if:{{{SortName|}}}|[[Category:Splits|{{{SortName}}}]]|[[Category:Splits]]}}
               |EP (Split)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Splits|Split]][[Category:Splits]])
               |{{{ReleaseType}}}}}
              |Single (Split) = [[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Splits|Split]])
  | label7 = Label  
              |Sampler=[[:Category:Samplers|Sampler]][[Category:Samplers]]
  |  data7 = {{#switch:{{{Label}}}|Self-published=[[:Category:Self-Published Releases|Self-published]]{{#if:{{{SortName|}}}|[[Category:Self-Published Releases|{{{SortName}}}]]|[[Category:Self-Published Releases]]}}|{{{Label}}}}}
               |EP (Archive)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Archival Releases|Archive]][[Category:Archival Releases]])
  | label8 = Catalog Number  
              |Album (Archive)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Archival Releases|Archive]][[Category:Archival Releases]])
  |  data8 = {{{CatalogNumber|}}}
              |Single (Remix)=[[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Remixes|Remix]][[Category:Remixes]])
  | label9 = Formats
               |{{{ReleaseType}}}
  |  data9 = {{{Formats}}}
              }}
  | label10 = Release Date  
  | label6 = Label  
  |  data10 = {{#switch:{{{Date}}}|Unknown=[[:Category:Released at an Unknown Date|Unknown]]{{#if:{{{SortName|}}}|[[Category:Released at an Unknown Date|{{{SortName}}}]]|[[Category:Released at an Unknown Date]]}}|{{{Date}}}}}
  |  data6 = {{#if:{{{Label|}}}|{{{Label}}}|[[:Category:Self-Published Releases|Self-published]][[Category:Self-Published Releases]]}}
  | label7 = Catalog Number  
  |  data7 = {{{CatalogNumber|}}}
  | label8 = Formats
  |  data8 = {{{Formats}}}
  | label9 = Release Date  
  |  data9 = {{#if:{{{Date|}}}|{{{Date}}}|[[:Category:Released at an Unknown Date|Unknown]][[Category:Released at an Unknown Date]]}}
| label10 = Singles
| data10  = {{{Singles|}}}
  | label11 = Tracks  
  | label11 = Tracks  
  |  data11 = {{{Tracks|}}}
  |  data11 = {{{Tracks|}}}
  | label12 = Length  
  | label12 = Length  
  |  data12 = {{{Length}}}
  |  data12 = {{{Length}}}
  | label13 = Tags  
  | label13 = Styles
  |  data13 = {{{Tags|}}}
|  data13 = {{{Styles|}}}
  |header14 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}}
| label14 = Tags  
  | label15 = Previous Release  
  |  data14 = {{{Tags|}}}
  |  data15 = {{{PrevRelease|}}}
  | label15 = Status
  | label16 = Next Release  
|  data15 = {{#if:{{{Status|}}}|{{#switch: {{{Status}}}|Offline={{Status|Offline}}|{{{Status}}}}}|Online}}
  |  data16 = {{{NextRelease|}}}
|header16 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}}
  |header17 = {{{Artist2B|}}}
  | label17 = Previous Release  
  | label18 = Previous Release  
  |  data17 = {{{PrevRelease|}}}
  |  data18 = {{{PrevReleaseB|}}}
  | label18 = Next Release  
  | label19 = Next Release  
  |  data18 = {{{NextRelease|}}}
  |  data19 = {{{NextReleaseB|}}}
  |header19 = {{{Artist2B|}}}
  |header20 = {{{Artist2C|}}}
  | label20 = Previous Release  
  | label21 = Previous Release  
  |  data20 = {{{PrevReleaseB|}}}
  |  data21 = {{{PrevReleaseC|}}}
  | label21 = Next Release  
  | label22 = Next Release  
  |  data21 = {{{NextReleaseB|}}}
  |  data22 = {{{NextReleaseC|}}}
  |header22 = {{{Artist2C|}}}
  |header23 = {{{Artist2D|}}}
  | label23 = Previous Release  
  | label24 = Previous Release  
  |  data23 = {{{PrevReleaseC|}}}
  |  data24 = {{{PrevReleaseD|}}}
  | label24 = Next Release  
  | label25 = Next Release  
  |  data24 = {{{NextReleaseC|}}}
  |  data25 = {{{NextReleaseD|}}}
  |header25 = {{{Artist2D|}}}
}}</includeonly><noinclude>
  | label26 = Previous Release  
  |  data26 = {{{PrevReleaseD|}}}
  | label27 = Next Release  
  |  data27 = {{{NextReleaseD|}}}
}}</includeonly><noinclude>[[Category:Infoboxes]]
==Usage==
==Usage==
<pre>
<pre>
Line 68: Line 80:
|Title = update this only when non-title data is in page name!
|Title = update this only when non-title data is in page name!
|Cover = cover.png (or jpg)
|Cover = cover.png (or jpg)
|Artist = {{Artist|artist name|artist rendering}}
|Artist = {{Artist|artist name|C}}
|ReleaseType = release type
|ReleaseType = release type
|Label = {{Label|label}}
|Label = {{Label|label}}
|SortName = use this for when releases need to be specially alphabetized!
|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|C}}
|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 91: Line 103:
|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>

Latest revision as of 01:30, 11 March 2024

Usage

{{MusicInfobox
|Title = update this only when non-title data is in page name!
|Cover = cover.png (or jpg)
|Artist = {{Artist|artist name|C}}
|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|C}}
|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]]
}}