Template talk:Infobox Album/color
From Wikipedia, the free encyclopedia
[edit] Special case
The [[Album (music)|Album]] is a case that is used very commonly, and I am not sure we can handle, as the middle pipe may break the switch statement. I am sure if we can fix it we will be solving easily half the cases. -- ReyBrujo 14:15, 18 September 2006 (UTC)
- Well, seemly I fixed that. I had to add the line [[ALBUM (MUSIC)|ALBUM]]=lightsteelblue in a single line, which makes the template look "broken" while editing it:
{{#switch: {{UC:{{{1|}}}}} |EP|EXTENDED PLAY|[[EP]]|[[EXTENDED PLAY]]|SALMON=salmon |STUDIO ALBUM|[[STUDIO ALBUM]]|[[ALBUM]]|ALBUM|ORIGINAL STUDIO ALBUM|ORANGE=lightsteelblue | [[ALBUM (MUSIC)|ALBUM]]=lightsteelblue |LIVE ALBUM|[[LIVE ALBUM]]|DARKTURQUOISE=darkturquoise |GREATEST HITS|[[GREATEST HITS]]|DARKSEAGREEN=darkseagreen |BOX SET|[[BOX SET]]|[[BOXED SET]]=darkseagreen |COMPILATION ALBUM|[[COMPILATION ALBUM]]=darkseagreen |REMIX ALBUM|[[REMIX]]|[[REMIX ALBUM]]=darkseagreen |COVER ALBUM|COVER|[[COVER ALBUM]]|[[COVER VERSION]]|PLUM=plum |TRIBUTE ALBUM|TRIBUTE|[[TRIBUTE ALBUM]]=plum |SOUNDTRACK|MOVIE SOUNDTRACK|[[SOUNDTRACK]]|GAINSBORO=gainsboro |TELEVISION THEME=gainsboro |FILM SCORE|[[FILM SCORE]]=gainsboro |{{#if:{{{2|}}}|{{{2}}}|gainsboro}} }}
- Please do not change that odd looking line, because it breaks the template :( -- ReyBrujo 14:59, 18 September 2006 (UTC)
- Could we maybe do a similar thing for [[Extended play|EP]], because a lot of articles use this pipe-link? --HarryCane 13:44, 21 September 2006 (UTC)
- We could. However, the idea is to remove as many "types" as possible, until we have only 10 or so, one for every type. Don't worry, in the few days since the change was implemented, there have been several fixing the non standard types. From 4,400 broken types, there are now around 1,000 less. I hope in less than a month we will have all of them fixed, including [[Extended play|EP]], and then we will be able to start a new discussion about which types should we remove. -- ReyBrujo 13:55, 21 September 2006 (UTC)
- Valid point. But for the time being, wouldn't it be wise to allow the background color to be changed manually, for any special cases that arise? Pages like The Early November/I Am the Avalanche simply look messed up right now — I think any spilt record will create a similar issue (calling it "Split", "Split record", or "Split EP"), maybe there should be a seperate color for split records alltogether). --HarryCane 14:33, 22 September 2006 (UTC)
- I have fixed it. That is a compatibility problem with {{Extra chronology}} which {{Extra chronology 2}} solves (as the former was protected when the infobox update was made). I will try to merge the changes of {{Extra chronology 2}} into {{Extra chronology}} tomorrow, but we need to be careful, as it is shared with the single infoboxes. For now, if you find yourself in a similar situation, replace the old Extra chronology template with the new one, replacing the background color with the type specified in the infobox, as I did in your example. -- ReyBrujo 18:17, 22 September 2006 (UTC)
- Valid point. But for the time being, wouldn't it be wise to allow the background color to be changed manually, for any special cases that arise? Pages like The Early November/I Am the Avalanche simply look messed up right now — I think any spilt record will create a similar issue (calling it "Split", "Split record", or "Split EP"), maybe there should be a seperate color for split records alltogether). --HarryCane 14:33, 22 September 2006 (UTC)
- Can't bot's cleanup this kind of stuff? And what do we say are Demo's and Mixtape's? - Ashadeofgrey 18:52, 24 September 2006 (UTC)
- Yes, most of the [[Extended play|EP]] to EP have no problem, but some (in example, the ones that are right now in the maintenance category) need to be handled manually. -- ReyBrujo 21:32, 24 September 2006 (UTC)
- We could. However, the idea is to remove as many "types" as possible, until we have only 10 or so, one for every type. Don't worry, in the few days since the change was implemented, there have been several fixing the non standard types. From 4,400 broken types, there are now around 1,000 less. I hope in less than a month we will have all of them fixed, including [[Extended play|EP]], and then we will be able to start a new discussion about which types should we remove. -- ReyBrujo 13:55, 21 September 2006 (UTC)
- Could we maybe do a similar thing for [[Extended play|EP]], because a lot of articles use this pipe-link? --HarryCane 13:44, 21 September 2006 (UTC)
Hey, how can you pull up a list of the pages using a broken type? I've been going around replacing piped 'Album (music)' links, it would be useful to see what's left. --Alcuin 04:37, 4 October 2006 (UTC)
- There is no list still. You can go to Category:Non-standard album infoboxes to check all the errors. -- ReyBrujo 05:03, 4 October 2006 (UTC)
- Thanks, that's what I was looking for --Alcuin 06:16, 4 October 2006 (UTC)
[edit] Why is orange back?
The light steel blue took a little getting used to, but I was quite happy with it. For some reason, the color scheme has been reverted back to orange, which is quite jarring. What was wrong with the new colors? Was there a technical issue that could only be resolved by reverting, or was it reverted out of one user's personal preference? I thought the new color scheme was based on consensus. --Alcuin 22:27, 26 September 2006 (UTC)
- Apparently, it was to bring more attention to the color discussion at the WikiProject Album. The lightsteelblue color was accepted due consensus, so it should be back soon. -- ReyBrujo 22:51, 26 September 2006 (UTC)
- Well, he got mine. I didn't bother voting before, but I prefer the blue. Where's the place to comment/express opinions on this, anyway? Surely I'm not the first to notice the switch back. --Alcuin 23:03, 26 September 2006 (UTC)
- At Wikipedia talk:WikiProject Albums →AzaToth 23:16, 26 September 2006 (UTC)
- Yee-hah! Banish garish colors! :-) Fantailfan 23:26, 26 September 2006 (UTC)
- At Wikipedia talk:WikiProject Albums →AzaToth 23:16, 26 September 2006 (UTC)
- Well, he got mine. I didn't bother voting before, but I prefer the blue. Where's the place to comment/express opinions on this, anyway? Surely I'm not the first to notice the switch back. --Alcuin 23:03, 26 September 2006 (UTC)
[edit] Live/Cover EP
Could we maybe enhance the Cover album/Live album codes so that they also accept Live EP and Cover EP? --HarryCane 13:23, 9 October 2006 (UTC)
- Yea, especially for Live EP. It doesn't make sense to me why it isnt already in there, as the category is specifically called "Live albums and live EPs". -- Reaper X
[edit] album (music)|album
There are now few (if any) infoboxes that use this piped link. I'd go ahead and remove it from the template, but I'm afraid of breaking the template. So I'll let someone more skilled do it. Thanks. --Alcuin 18:30, 11 October 2006 (UTC)
- Done. Next time try it out yourself. At worst, you can always revert back :-) -- ReyBrujo 18:49, 11 October 2006 (UTC)
- Thanks --Alcuin 19:04, 11 October 2006 (UTC)
[edit] Automatically linked types?
Am I crazy, or did the types automatically get linked before? Like right now, if I just set type=Album, I get Album in the infobox, but I'm sure it was Album before. Am I crazy? Joltman 12:37, 12 October 2006 (UTC)
- {{Infobox Album/link}} should be updated whenever this template is updated. -- ReyBrujo 12:42, 12 October 2006 (UTC)
[edit] Questions
- Hi, I was wondering how would you know if an album article would be classified as a Cover album? Would You Light up My Life: Inspirational Songs be classified as a cover album?
- Would Christmas albums be classified as a Cover album? Lillygirl 5:35, 26 November 2006.
-
- You are more likely to get answers at Wikipedia talk:WikiProject Albums. Jogers (talk) 11:05, 26 November 2006 (UTC)
-
-
- Ok, thank you. I'll post it there. Lillygirl 14:22, 26 November 2006.
-
[edit] Gospel albums
Since there already are a number of articles on gospel albums (country or otherwise), do you think it's a good idea to create a special album/color denoter for gospel albums? Your thoughts are appreciated. [[Briguy52748 03:44, 28 January 2007 (UTC)]]
- Please contact Wikipedia:WikiProject Albums, where you will get a better feedback. -- ReyBrujo 05:39, 28 January 2007 (UTC)
- Thought I'd try here first, but Roger that and 10-4. [[Briguy52748 20:42, 28 January 2007 (UTC)]]
[edit] Proposed change: add type "demo"
Proposed change, per discussion at Template talk:Infobox Album#Demo type, for future {{editprotected}} if accepted:
- Add the line: "
|demo=lightsteelblue
" before the line: "|double album|[[double album]]= lightsteelblue
" - Move the documentation to an unprotected subarticle /doc
- Perform the change request at Template talk:Infobox Album/link in tandem.
--PEJL 11:49, 11 August 2007 (UTC)
- OK, let's do this. --PEJL 13:45, 13 August 2007 (UTC)
{{editprotected}}
[edit] Requested change: Add type "video"
{{editprotected}} Requested change, needed to merge Template:Infobox Album and Template:Infobox music DVD as discussed at WT:ALBUM. While no final decision to merge has been made, I'm prototyping how such a change would work, and this is needed for such a prototype. It can be reverted if we later decide not to merge. Requested changes:
- Add the line
|video=#99CCFF
before the line|single|[[single]]|singles|[[singles]]=khaki
. - Perform the change request at Template talk:Infobox Album/link in tandem.
--PEJL 11:02, 2 October 2007 (UTC)
{{editprotected}}
-
- Thanks Jogers. Unfortunately it didn't work quite as intended. See the breakage at Template:Infobox Album/color/doc#Unit test and Template:Infobox Album/testcases#Video parameters. I think the problem is that the hash sign needs to be escaped. Let's try changing
#
to<nowiki>#</nowiki>
. --PEJL 12:55, 2 October 2007 (UTC)
- Thanks Jogers. Unfortunately it didn't work quite as intended. See the breakage at Template:Infobox Album/color/doc#Unit test and Template:Infobox Album/testcases#Video parameters. I think the problem is that the hash sign needs to be escaped. Let's try changing
[edit] Req: Minor adjustment to avoid false negative in unit tests
{{editprotected}}
The unit tests return a false negative for the "video" color. Thanks to the assistance of User:Csernica at Wikipedia:Village pump (technical)#Ifeq help we can avoid this problem by making a minor adjustment to the color value for "video". Please change #99CCFF
to  #99CCFF
. (This alone won't make the test pass, we'll need to update the test as well.) --PEJL 21:23, 17 October 2007 (UTC)
- That worked, nice! I had been trying to come with a solution to fix that false positive, glad to see others solved it! -- ReyBrujo 01:25, 18 October 2007 (UTC)
[edit] Req: Support "DVD" as alias for "video"
Please change |video=
to |video|DVD=
, per WT:ALBUM#Video infobox. --PEJL 10:57, 18 October 2007 (UTC)