Template:MusicInfobox: Difference between revisions
Jump to navigation
Jump to search
(hope this works-) |
mNo edit summary |
||
Line 12: | Line 12: | ||
|labelstyle = background:#ddf; white-space: nowrap; padding-right: 15px; | |labelstyle = background:#ddf; white-space: nowrap; padding-right: 15px; | ||
|datastyle = | |datastyle = | ||
|header1 = Information | |header1 = Information | ||
| label1 = | | label1 = | ||
| data1 = | | data1 = | ||
|header2 = | |header2 = | ||
| label2 = Artist | | label2 = Artist | ||
| data2 = {{#switch: {{{Artist}}}|Various Artists=[[:Category:Releases by Various Artists|{{{Artist}}}]]{{#if:{{{SortName|}}}|[[Category:Releases by Various Artists|{{{SortName}}}]]|[[Category:Releases by Various Artists]]}}|{{{Artist}}}}} | | data2 = {{#switch: {{{Artist}}}|Various Artists=[[:Category:Releases by Various Artists|{{{Artist}}}]]{{#if:{{{SortName|}}}|[[Category:Releases by Various Artists|{{{SortName}}}]]|[[Category:Releases by Various Artists]]}}|{{{Artist}}}}}{{#if:{{{SortName|}}}|[[Category:Releases|{{{SortName}}}]]|[[Category:Releases]]}} | ||
|header3 = | |header3 = | ||
| label3 = Additional Credits | | label3 = Additional Credits | ||
Line 24: | Line 24: | ||
| label4 = Release Type | | label4 = Release Type | ||
| data4 = {{#switch: {{{ReleaseType}}} | | data4 = {{#switch: {{{ReleaseType}}} | ||
|Album=[[:Category:Albums|Album]]{{#if:{{{SortName|}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}} | |Album=[[:Category:Albums|Album]]{{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}} | ||
|EP =[[:Category:EPs|EP]]{{#if:{{{SortName|}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}} | |EP =[[:Category:EPs|EP]]{{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}} | ||
|Single=[[:Category:Singles|Single]]{{#if:{{{SortName|}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}} | |Single=[[:Category:Singles|Single]]{{#if:{{{SortName|}}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}} | ||
|Mix= [[:Category:Mixes|Mix]]{{#if:{{{SortName|}}|[[Category:Mixes|{{{SortName}}}]]|[[Category:Mixes]]}} | |Mix= [[:Category:Mixes|Mix]]{{#if:{{{SortName|}}}|[[Category:Mixes|{{{SortName}}}]]|[[Category:Mixes]]}} | ||
|Compilation=[[:Category:Albums|Album]] ([[:Category:Compilations|Compilation]]){{#if:{{{SortName|}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}|[[Category:Compilations|{{{SortName}}}]]|[[Category:Compilations]]}} | |Compilation=[[:Category:Albums|Album]] ([[:Category:Compilations|Compilation]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Compilations|{{{SortName}}}]]|[[Category:Compilations]]}} | ||
|Album (Collaboration)=[[:Category:Albums|Album]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}} | |Album (Collaboration)=[[:Category:Albums|Album]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}} | ||
|EP (Collaboration)=[[:Category:EPs|EP]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}{{#if:{{{SortName|}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}} | |EP (Collaboration)=[[:Category:EPs|EP]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}} | ||
|Single (Collaboration)=[[:Category:Singles|Single]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}}{{#if:{{{SortName|}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}} | |Single (Collaboration)=[[:Category:Singles|Single]] ([[:Category:Collaborations|Collaboration]]){{#if:{{{SortName|}}}|[[Category:Singles|{{{SortName}}}]]|[[Category:Singles]]}}{{#if:{{{SortName|}}}|[[Category:Collaborations|{{{SortName}}}]]|[[Category:Collaborations]]}} | ||
|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:Splits|Split]]){{#if:{{{SortName|}}}|[[Category:Albums|{{{SortName}}}]]|[[Category:Albums]]}}{{#if:{{{SortName|}}}|[[Category:Splits|{{{SortName}}}]]|[[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:Splits|Split]]){{#if:{{{SortName|}}}|[[Category:EPs|{{{SortName}}}]]|[[Category:EPs]]}}{{#if:{{{SortName|}}}|[[Category:Splits|{{{SortName}}}]]|[[Category:Splits]]}} | ||
|{{{ReleaseType}}}}} | |{{{ReleaseType}}}}} | ||
| label5 = Label | | label5 = Label | ||
| data5 = {{#switch:{{{Label}}}|Self-published=[[:Category:Self-Published Releases|Self-published]]{{#if:{{{SortName|}}|[[Category:Self-Published Releases|{{{SortName}}}]]|[[Category:Self-Published Releases]]}}|{{{Label}}}}} | | data5 = {{#switch:{{{Label}}}|Self-published=[[:Category:Self-Published Releases|Self-published]]{{#if:{{{SortName|}}}|[[Category:Self-Published Releases|{{{SortName}}}]]|[[Category:Self-Published Releases]]}}|{{{Label}}}}} | ||
|header6 = | |header6 = | ||
| label6 = Catalog Number | | label6 = Catalog Number | ||
Line 45: | Line 45: | ||
|header8 = | |header8 = | ||
| label8 = Release Date | | label8 = Release Date | ||
| data8 = {{#switch:{{{Date}}}|Unknown=[[:Category:Released at an Unknown Date|Unknown]] | | 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}}}}} | ||
|header9 = | |header9 = | ||
| label9 = Tracks | | label9 = Tracks |
Revision as of 02:27, 21 July 2019
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}} |SortName = use this for when releases need to be specially alphabetized! |CatalogNumber = cat # |Formats = places online and offline |Date = {{ReleaseDate|XXXX-XX-XX}} |Tracks = XX |Length = X:XX:XX |Tags = bandcamp; or; soundcloud; separated; by; semicolons (except country-based tags) |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
Test Release | |
---|---|
Information | |
Artist | Test Artist & Also Test Artist |
Release Type | Album |
Label | fortune 500 (Removed) |
Catalog Number | TEST001 |
Formats |
Bandcamp Album (Test) SoundCloud Single (Test Track 780) Cassette |
Release Date | June 9, 2011 |
Tracks | 12 |
Length |
4:20:20 (Digital) |
Tags | a; b; c; test |
Test Artist | |
Previous Release | Release One |
Also Test Artist | |
Next Release | Release Two |
"Test Release" Series | |
Previous Release | not a test release |
Next Release | TEST RELEASE II |