Template:MusicInfobox: Difference between revisions

From vaporwave.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(43 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
  |name        = MusicInfobox
  |name        = MusicInfobox
|bodystyle    =
|titlestyle  =
  |abovestyle = background:#cfc;
  |abovestyle = background:#cfc;
|subheaderstyle =
  |above        = {{#if: {{{Title|}}} | {{{Title}}} | {{TOPLEVELPAGE}} }}
  |above        = {{#if: {{{Title|}}} | {{{Title}}} | {{TOPLEVELPAGE}} }}
|imagestyle  =
  |  image      = {{#if: {{{Cover|}}} | [[File:{{{Cover}}}|350px]] | (No cover)}}
|captionstyle =
  |  image      = [[File:{{{Cover}}}|300px]]
  |headerstyle  = background:#ccf;
  |headerstyle  = background:#ccf;
  |labelstyle  = background:#ddf; white-space: nowrap; padding-right: 15px;
  |labelstyle  = background:#ddf; white-space: nowrap; padding-right: 15px;
|datastyle    =
  | header1 = {{#if:{{{Assets|}}}|[[{{TOPLEVELPAGE}}/Assets|Assets]]|}}
  |header1 = Information
| header2 = Information
| label1 =
| label3 = Artist
|  data1 =
|  data3 = [[Category:Releases]]{{#switch: {{{Artist}}}|Various Artists=[[:Category:Releases by Various Artists|{{{Artist}}}]][[Category:Releases by Various Artists]]|{{{Artist}}}}}
|header2 =
  | label4 = Additional Credits  
| label2 = Artist
  |  data4 = {{{AdditionalCredits|}}}
|  data2 = {{#if:{{{SortName|}}}|[[Category:Releases|{{{SortName}}}]]|[[Category:Releases]]}}{{#switch: {{{Artist}}}|Various Artists=[[:Category:Releases by Various Artists|{{{Artist}}}]]{{#if:{{{SortName|}}}|[[Category:Releases by Various Artists|{{{SortName}}}]]|[[Category:Releases by Various Artists]]}}|{{{Artist}}}}}
  | label5 = Release Type  
  |header3 =
  |  data5 = {{#switch: {{{ReleaseType}}}
| label3 = Additional Credits  
               |Album=[[:Category:Albums|Album]][[Category:Albums]]
  |  data3 = {{{AdditionalCredits|}}}
               |EP =[[:Category:EPs|EP]][[Category:EPs]]
  |header4 =
               |Single=[[:Category:Singles|Single]][[Category:Singles]]
| label4 = Release Type  
               |Mix= [[:Category:Mixes|Mix]][[Category:Mixes]]
  |  data4 = {{#switch: {{{ReleaseType}}}
               |Compilation=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Compilations|Compilation]][[Category:Compilations]])
               |Album=[[:Category:Albums|Album]]{{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}
              |Remix Compilation=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Remix Compilations|Remix Compilation]][[Category:Remix Compilations]])
               |EP =[[:Category:EPs|EP]]{{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}
               |Album (Collaboration)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
               |Single=[[:Category:Singles|Single]]{{#if:{{{SortName|}}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}}
              |EP (Collaboration)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
               |Mix= [[:Category:Mixes|Mix]]{{#if:{{{SortName|}}}|[[Category:Mixes|{{{SortName}}}]]|[[Category:Mixes]]}}
               |Single (Collaboration)=[[:Category:Singles|Single]][[Category:Singles]] ([[: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]]}}
              |Album (Collection)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Collections|Collection]][[Category:Collections]])
               |Album (Collaboration)=[[:Category:Albums|Album]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}}
               |EP (Collection)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Collections|Collection]][[Category:Collections]])
               |EP (Collaboration)=[[:Category:EPs|EP]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}}
              |Album (Split)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Splits|Split]][[Category:Splits]])
               |Single (Collaboration)=[[:Category:Singles|Single]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}}
               |EP (Split)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Splits|Split]][[Category:Splits]])
               |Album (Split)=[[:Category:Albums|Album]] ([[:Category:Splits|Split]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Splits|{{{SortName}}}]]|[[Category:Splits]]}}
              |Single (Split) = [[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Splits|Split]])
               |EP (Split)=[[:Category:EPs|EP]] ([[:Category:Splits|Split]]){{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}{{#if:{{{SortName|}}}|[[Category:Splits|{{{SortName}}}]]|[[Category:Splits]]}}
              |Sampler=[[:Category:Samplers|Sampler]][[Category:Samplers]]
               |{{{ReleaseType}}}}}
               |EP (Archive)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Archival Releases|Archive]][[Category:Archival Releases]])
  | label5 = Label  
              |Album (Archive)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Archival Releases|Archive]][[Category:Archival Releases]])
  |  data5 = {{#switch:{{{Label}}}|Self-published=[[:Category:Self-Published Releases|Self-published]]{{#if:{{{SortName|}}}|[[Category:Self-Published Releases|{{{SortName}}}]]|[[Category:Self-Published Releases]]}}|{{{Label}}}}}
              |Single (Remix)=[[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Remixes|Remix]][[Category:Remixes]])
  |header6 =
               |{{{ReleaseType}}}
| label6 = Catalog Number  
              }}
  |  data6 = {{{CatalogNumber|}}}
  | label6 = Label  
  |header7 =
  |  data6 = {{#if:{{{Label|}}}|{{{Label}}}|[[:Category:Self-Published Releases|Self-published]][[Category:Self-Published Releases]]}}
| label7 = Formats
  | label7 = Catalog Number  
  |  data7 = {{{Formats}}}
  |  data7 = {{{CatalogNumber|}}}
  |header8 =
  | label8 = Formats
| label8 = Release Date  
  |  data8 = {{{Formats}}}
  |  data8 = {{#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}}}}}
  | label9 = Release Date  
  |header9 =
  |  data9 = {{#if:{{{Date|}}}|{{{Date}}}|[[:Category:Released at an Unknown Date|Unknown]][[Category:Released at an Unknown Date]]}}
| label9 = Tracks  
| label10 = Singles
  |  data9 = {{{Tracks|}}}
| data10  = {{{Singles|}}}
  |header10 =
  | label11 = Tracks  
| label10 = Length  
  |  data11 = {{{Tracks|}}}
  |  data10 = {{{Length}}}
  | label12 = Length  
  |header12 =
  |  data12 = {{{Length}}}
  | label12 = Tags  
  | label13 = Styles
  |  data12 = {{{Tags|}}}
|  data13 = {{{Styles|}}}
  |header13 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}}
  | label14 = Tags  
  | label13 =  
  |  data14 = {{{Tags|}}}
| data13 =
  | label15 = Status
|header14 =
|  data15 = {{#if:{{{Status|}}}|{{#switch: {{{Status}}}|Offline={{Status|Offline}}|{{{Status}}}}}|Online}}
| label14 = Previous Release
  |header16 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}}
| data14 = {{{PrevRelease|}}}
|header15 =
| label15 = Next Release
|  data15 = {{{NextRelease|}}}
|header16 = {{{Artist2B|}}}
| label16 =
|  data16 =
|header17 =
  | label17 = Previous Release  
  | label17 = Previous Release  
  |  data17 = {{{PrevReleaseB|}}}
  |  data17 = {{{PrevRelease|}}}
|header18 =
  | label18 = Next Release  
  | label18 = Next Release  
  |  data18 = {{{NextReleaseB|}}}
  |  data18 = {{{NextRelease|}}}
  |header19 = {{{Artist2C|}}}
  |header19 = {{{Artist2B|}}}
| label19 =
|  data19 =
|header20 =
  | label20 = Previous Release  
  | label20 = Previous Release  
  |  data20 = {{{PrevReleaseC|}}}
  |  data20 = {{{PrevReleaseB|}}}
|header21 =
  | label21 = Next Release  
  | label21 = Next Release  
  |  data21 = {{{NextReleaseC|}}}
  |  data21 = {{{NextReleaseB|}}}
  |header22 = {{{Artist2D|}}}
  |header22 = {{{Artist2C|}}}
| label22 =
|  data22 =
|header23 =
  | label23 = Previous Release  
  | label23 = Previous Release  
  |  data23 = {{{PrevReleaseD|}}}
  |  data23 = {{{PrevReleaseC|}}}
|header24 =
  | label24 = Next Release  
  | label24 = Next Release  
  |  data24 = {{{NextReleaseD|}}}
  |  data24 = {{{NextReleaseC|}}}
}}</includeonly><noinclude>
|header25 = {{{Artist2D|}}}
| label26 = Previous Release
|  data26 = {{{PrevReleaseD|}}}
| label27 = Next Release
|  data27 = {{{NextReleaseD|}}}
}}</includeonly><noinclude>[[Category:Infoboxes]]
==Usage==
==Usage==
<pre>
<pre>
Line 97: 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 120: 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]]
}}