Template:MusicInfobox: Difference between revisions

From vaporwave.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(51 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{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}} }}  
  |  image      = {{#if: {{{Cover|}}} | [[File:{{{Cover}}}|350px]] | (No cover)}}
|imagestyle  =
|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 = {{#switch: {{{Artist}}} | Various Artists = [[:Category:Releases by Various Artists | {{{Artist}}} ]]
  | label5 = Release Type  
| {{{Artist}}} }}
  |  data5 = {{#switch: {{{ReleaseType}}}
  |header3 =
              |Album=[[:Category:Albums|Album]][[Category:Albums]]
| label3 = Additional Credits  
              |EP =[[:Category:EPs|EP]][[Category:EPs]]
  |  data3 = {{{AdditionalCredits|}}}
              |Single=[[:Category:Singles|Single]][[Category:Singles]]
  |header4 =
              |Mix= [[:Category:Mixes|Mix]][[Category:Mixes]]
| label4 = Release Type  
              |Compilation=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Compilations|Compilation]][[Category:Compilations]])
  |  data4 = {{#switch: {{{ReleaseType}}} | Album = [[:Category:Albums | Album ]] | EP = [[:Category:EPs | EP ]] | Single = [[:Category:Singles | Single ]] | Mix = [[:Category:Mixes | Mix ]] | Compilation = [[:Category:Albums | Album]] ([[:Category:Compilations|Compilation]]) | {{{ReleaseType}}} }}
              |Remix Compilation=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Remix Compilations|Remix Compilation]][[Category:Remix Compilations]])
  | label5 = Label  
              |Album (Collaboration)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
  |  data5 = {{#switch: {{{Label}}} | Self-published = [[:Category:Self-Published Releases | Self-published ]] | {{{Label}}} }}
              |EP (Collaboration)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
  |header6 =
              |Single (Collaboration)=[[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Collaborations|Collaboration]][[Category:Collaborations]])
| label6 = Catalog Number  
              |Album (Collection)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Collections|Collection]][[Category:Collections]])
  |  data6 = {{{CatalogNumber|}}}
              |EP (Collection)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Collections|Collection]][[Category:Collections]])
  |header7 =
              |Album (Split)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Splits|Split]][[Category:Splits]])
| label7 = Formats
              |EP (Split)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Splits|Split]][[Category:Splits]])
  |  data7 = {{#switch: {{{Formats}}} }}
              |Single (Split) = [[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Splits|Split]])
  |header8 =
              |Sampler=[[:Category:Samplers|Sampler]][[Category:Samplers]]
| label8 = Release Date  
              |EP (Archive)=[[:Category:EPs|EP]][[Category:EPs]] ([[:Category:Archival Releases|Archive]][[Category:Archival Releases]])
  |  data8 = {{#switch: {{{Date}}} | Unknown = [[:Category:Released at an Unknown Date | Unknown ]] | {{{Date}}} }}
              |Album (Archive)=[[:Category:Albums|Album]][[Category:Albums]] ([[:Category:Archival Releases|Archive]][[Category:Archival Releases]])
  |header9 =
              |Single (Remix)=[[:Category:Singles|Single]][[Category:Singles]] ([[:Category:Remixes|Remix]][[Category:Remixes]])
| label9 = Tracks  
              |{{{ReleaseType}}}
  |  data9 = {{{Tracks|}}}
              }}
  |header10 =
  | label6 = Label  
| label10 = Length  
  |  data6 = {{#if:{{{Label|}}}|{{{Label}}}|[[:Category:Self-Published Releases|Self-published]][[Category:Self-Published Releases]]}}
  |  data10 = {{{Length}}}
  | label7 = Catalog Number  
  |header11 =
  |  data7 = {{{CatalogNumber|}}}
  | label11 = Price
  | label8 = Formats
  |  data11 = {{{Price|}}}
  |  data8 = {{{Formats}}}
  |header12 =
  | label9 = Release Date  
| label12 = Tags  
  |  data9 = {{#if:{{{Date|}}}|{{{Date}}}|[[:Category:Released at an Unknown Date|Unknown]][[Category:Released at an Unknown Date]]}}
  |  data12 = {{{Tags|}}}
| label10 = Singles
  |header13 = {{{Artist2|}}}
| data10  = {{{Singles|}}}
| label13 =
  | label11 = Tracks  
| data13 =
  |  data11 = {{{Tracks|}}}
|header14 =
  | label12 = Length  
| label14 = Previous Release
  |  data12 = {{{Length}}}
|  data14 = {{#switch: {{{PrevRelease|}}} | N/A = N/A  | {{{PrevRelease|}}} }}
  | label13 = Styles
|header15 =
  |  data13 = {{{Styles|}}}
  | label15 = Next Release
  | label14 = Tags  
|  data15 = {{#switch: {{{NextRelease|}}} | TBD = TBD  | N/A (retired alias) = N/A (retired alias)  | {{{NextRelease|}}} }}  
  |  data14 = {{{Tags|}}}
|header16 = {{{Artist2B|}}}
  | label15 = Status
| label16 =
|  data15 = {{#if:{{{Status|}}}|{{#switch: {{{Status}}}|Offline={{Status|Offline}}|{{{Status}}}}}|Online}}
|  data16 =
  |header16 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}}
|header17 =
  | label17 = Previous Release  
  | label17 = Previous Release  
  |  data17 = {{#switch: {{{PrevReleaseB|}}} | N/A = N/A  | {{{PrevReleaseB|}}} }}
  |  data17 = {{{PrevRelease|}}}
|header18 =
  | label18 = Next Release  
  | label18 = Next Release  
  |  data18 = {{#switch: {{{NextReleaseB|}}} | TBD = TBD  | N/A (retired alias) = N/A (retired alias)  | {{{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|}}}
|header25 = {{{Artist2D|}}}
| label26 = Previous Release
|  data26 = {{{PrevReleaseD|}}}
| label27 = Next Release
|  data27 = {{{NextReleaseD|}}}
}}</includeonly><noinclude>[[Category:Infoboxes]]
==Usage==
<pre>
{{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)
}}
}}
</pre>
==Example==
<pre>{{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]]
}}</pre>
</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]]
}}