Template:MusicInfobox: Difference between revisions
Jump to navigation
Jump to search
m (still testing) |
m (lets not talk abt that stuff) |
||
Line 6: | Line 6: | ||
|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 = Information | ||
| label2 = Artist | | label2 = Artist | ||
| data2 = {{#if:{{{ | | 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 | | label3 = Additional Credits | ||
| data3 = {{{AdditionalCredits|}}} | |||
| label4 = Release Type | |||
| 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]]}} | ||
Line 28: | Line 24: | ||
|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 | ||
| | | data5 = {{#switch:{{{Label}}}|Self-published=[[:Category:Self-Published Releases|Self-published]]{{#if:{{{SortName|}}}|[[Category:Self-Published Releases|{{{SortName}}}]]|[[Category:Self-Published Releases]]}}|{{{Label}}}}} | ||
| | | label6 = Catalog Number | ||
| | | data6 = {{{CatalogNumber|}}} | ||
| | | label7 = Formats | ||
| | | data7 = {{{Formats}}} | ||
| | | label8 = Release Date | ||
| | | 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 = Tracks | ||
| | | data9 = {{{Tracks|}}} | ||
| | | label10 = Length | ||
| | | data10 = {{{Length}}} | ||
| | | label12 = Tags | ||
| | | data12 = {{{Tags|}}} | ||
| | |header13 = {{#ifeq:{{{Artist}}}|Various Artists|{{{Artist2|}}}|{{#if:{{{Artist2|}}}|{{{Artist2}}}|{{{Artist}}}}}}} | ||
| | | label14 = Previous Release | ||
| | | data14 = {{{PrevRelease|}}} | ||
| | | label15 = Next Release | ||
| | | data15 = {{{NextRelease|}}} | ||
| | |header16 = {{{Artist2B|}}} | ||
| | | label17 = Previous Release | ||
| | | data17 = {{{PrevReleaseB|}}} | ||
| | | label18 = Next Release | ||
| | | data18 = {{{NextReleaseB|}}} | ||
| | |header19 = {{{Artist2C|}}} | ||
| | | label20 = Previous Release | ||
| | | data20 = {{{PrevReleaseC|}}} | ||
| | | label21 = Next Release | ||
| | | data21 = {{{NextReleaseC|}}} | ||
| | |header22 = {{{Artist2D|}}} | ||
| | | label23 = Previous Release | ||
| | | data23 = {{{PrevReleaseD|}}} | ||
| | | label24 = Next Release | ||
| | | data24 = {{{NextReleaseD|}}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
==Usage== | ==Usage== |
Revision as of 06:07, 24 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
{{MusicInfobox |Title = Test Release |Cover = VektroidPhoto.jpg |Artist = {{Artist|Vektroid|Test Artist}} & {{Artist|Vektroid|Also Test Artist}} |ReleaseType = [[:Category:Albums|Album]] |Label = {{Label|fortune 500}} (Removed) |CatalogNumber = TEST001 |Formats = [[File:BandcampIcon.png|left]] Bandcamp Album<br>(Test)<br> [[File:SoundCloudIcon.png|left]] SoundCloud Single<br>(Test Track 780)<br> [[:Category:Releases on Cassette|Cassette]] |Date = {{ReleaseDate|2011-06-09}} |Tracks = 12 |Length = 4:20:20 (Digital)<br> 4:20 (Cassette) |Tags = a; b; c; test |Artist2 = {{Artist|Vektroid|Test Artist}} |PrevRelease = [[the music of the now age|Release One]] |Artist2B = {{Artist|Vektroid|Also Test Artist}} |NextReleaseB = [[the music of the now age|Release Two]] |Artist2C = "Test Release" Series |PrevReleaseC = [[the music of the now age|not a test release]] |NextReleaseC = [[the music of the now age|TEST RELEASE II]] }}