Template:MusicInfobox: Difference between revisions

From vaporwave.wiki
Jump to navigation Jump to search
m (lets not talk abt that stuff)
mNo edit summary
 
(34 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
  | header1 = {{#if:{{{Assets|}}}|[[{{TOPLEVELPAGE}}/Assets|Assets]]|}}
| label2 = Artist
| header2 = Information
|  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}}}}}
| label3 = Artist
  | label3 = Additional Credits  
|  data3 = [[Category:Releases]]{{#switch: {{{Artist}}}|Various Artists=[[:Category:Releases by Various Artists|{{{Artist}}}]][[Category:Releases by Various Artists]]|{{{Artist}}}}}
  |  data3 = {{{AdditionalCredits|}}}
  | label4 = Additional Credits  
  | label4 = Release Type  
  |  data4 = {{{AdditionalCredits|}}}
  |  data4 = {{#switch: {{{ReleaseType}}}
  | label5 = Release Type  
               |Album=[[:Category:Albums|Album]]{{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}
  |  data5 = {{#switch: {{{ReleaseType}}}
               |EP =[[:Category:EPs|EP]]{{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}
               |Album=[[:Category:Albums|Album]][[Category:Albums]]
               |Single=[[:Category:Singles|Single]]{{#if:{{{SortName|}}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}}
               |EP =[[:Category:EPs|EP]][[Category:EPs]]
               |Mix= [[:Category:Mixes|Mix]]{{#if:{{{SortName|}}}|[[Category:Mixes|{{{SortName}}}]]|[[Category:Mixes]]}}
               |Single=[[:Category:Singles|Single]][[Category:Singles]]
               |Compilation=[[:Category:Albums|Album]] ([[:Category:Compilations|Compilation]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Compilations|{{{SortName}}}]]|[[Category:Compilations]]}}
               |Mix= [[:Category:Mixes|Mix]][[Category:Mixes]]
               |Album (Collaboration)=[[:Category:Albums|Album]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}}
               |Compilation=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Compilations|Compilation]][[Category:Compilations]])
               |EP (Collaboration)=[[:Category:EPs|EP]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}}
              |Remix Compilation=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Remix Compilations|Remix Compilation]][[Category:Remix Compilations]])
               |Single (Collaboration)=[[:Category:Singles|Single]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}}
               |Album (Collaboration)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
               |Album (Split)=[[:Category:Albums|Album]] ([[:Category:Splits|Split]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Splits|{{{SortName}}}]]|[[Category:Splits]]}}
              |EP (Collaboration)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
               |EP (Split)=[[:Category:EPs|EP]] ([[:Category:Splits|Split]]){{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}{{#if:{{{SortName|}}}|[[Category:Splits|{{{SortName}}}]]|[[Category:Splits]]}}
               |Single (Collaboration)=[[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
               |{{{ReleaseType}}}}}
              |Album (Collection)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Collections|Collection]][[Category:Collections]])
  | label5 = Label  
               |EP (Collection)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Collections|Collection]][[Category:Collections]])
  |  data5 = {{#switch:{{{Label}}}|Self-published=[[:Category:Self-Published Releases|Self-published]]{{#if:{{{SortName|}}}|[[Category:Self-Published Releases|{{{SortName}}}]]|[[Category:Self-Published Releases]]}}|{{{Label}}}}}
              |Album (Split)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Splits|Split]][[Category:Splits]])
  | label6 = Catalog Number  
               |EP (Split)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Splits|Split]][[Category:Splits]])
  |  data6 = {{{CatalogNumber|}}}
              |Single (Split) = [[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Splits|Split]])
  | label7 = Formats
              |Sampler=[[:Category:Samplers|Sampler]][[Category:Samplers]]
  |  data7 = {{{Formats}}}
               |EP (Archive)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Archival Releases|Archive]][[Category:Archival Releases]])
  | label8 = Release Date  
              |Album (Archive)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Archival Releases|Archive]][[Category:Archival Releases]])
  |  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}}}}}
              |Single (Remix)=[[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Remixes|Remix]][[Category:Remixes]])
  | label9 = Tracks  
               |{{{ReleaseType}}}
  |  data9 = {{{Tracks|}}}
              }}
  | label10 = Length  
  | label6 = Label  
  |  data10 = {{{Length}}}
  |  data6 = {{#if:{{{Label|}}}|{{{Label}}}|[[:Category:Self-Published Releases|Self-published]][[Category:Self-Published Releases]]}}
  | label12 = Tags
  | label7 = Catalog Number  
  |  data12 = {{{Tags|}}}
  |  data7 = {{{CatalogNumber|}}}
  |header13 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}}
  | label8 = Formats
  | label14 = Previous Release
  |  data8 = {{{Formats}}}
| data14 = {{{PrevRelease|}}}
  | label9 = Release Date  
| label15 = Next Release
  |  data9 = {{#if:{{{Date|}}}|{{{Date}}}|[[:Category:Released at an Unknown Date|Unknown]][[Category:Released at an Unknown Date]]}}
|  data15 = {{{NextRelease|}}}
| label10 = Singles
|header16 = {{{Artist2B|}}}
| data10  = {{{Singles|}}}
  | label11 = Tracks  
  |  data11 = {{{Tracks|}}}
  | label12 = Length  
  |  data12 = {{{Length}}}
  | label13 = Styles
  |  data13 = {{{Styles|}}}
  | label14 = Tags
|  data14 = {{{Tags|}}}
| label15 = Status
| data15 = {{#if:{{{Status|}}}|{{#switch: {{{Status}}}|Offline={{Status|Offline}}|{{{Status}}}}}|Online}}
  |header16 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}}
  | label17 = Previous Release  
  | label17 = Previous Release  
  |  data17 = {{{PrevReleaseB|}}}
  |  data17 = {{{PrevRelease|}}}
  | label18 = Next Release  
  | label18 = Next Release  
  |  data18 = {{{NextReleaseB|}}}
  |  data18 = {{{NextRelease|}}}
  |header19 = {{{Artist2C|}}}
  |header19 = {{{Artist2B|}}}
  | label20 = Previous Release  
  | label20 = Previous Release  
  |  data20 = {{{PrevReleaseC|}}}
  |  data20 = {{{PrevReleaseB|}}}
  | label21 = Next Release  
  | label21 = Next Release  
  |  data21 = {{{NextReleaseC|}}}
  |  data21 = {{{NextReleaseB|}}}
  |header22 = {{{Artist2D|}}}
  |header22 = {{{Artist2C|}}}
  | label23 = Previous Release  
  | label23 = Previous Release  
  |  data23 = {{{PrevReleaseD|}}}
  |  data23 = {{{PrevReleaseC|}}}
  | 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 64: 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 87: 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]]
}}