Forum:Portable infoboxes

Gentlemen, the New Year is upon us and the urge for change awakens. Please have a closer look at what I've thrown together over the holidays to serve some! Below are both the wikicode for portable infobox-templates (specifically adjusted for episode-pages) and the respective CSS-code, which'll provide a look similar to the current. – ''Opinions on this matter, as well as a problem record and suggestions concerning the codes themselves, are highly appreciated. Have a great New Year's Eve!''

Wikicode (episode-infobox)=Alterations:   Episode information Serial progress  Episode chronology CSS (Season 1-default)= Important note: ''I am not certain whether single numbers are a valid name. If problems arise, I will have to separate the theme-source. Just let me know!'' /* Episode infobox style */
 * Subitems: Alternative title ("aka"), Guest voices ("guests"), Song(s) introduced ("new_songs"), Gear introduced ("gear")
 * Categories should now be added automatically, at least that's what I've tried to achieve with the switch-parser. The Episodes-Category is default.
 * Ideally the background- and font-colours of title and headers will adapt to the respective season, similar to how it's done on Wikipedia. Hence, the theme-source="season"-stuff. Read the note in the second tab in this regard!

/* Season One template */

.portable-infobox.pi-theme-1 { border: 1px solid #bcbcbc; color: #222222; padding: 2px; border-radius: 2px; -webkit-border-radius: 2px; -moz-border-radius: 2px; -o-border-radius: 2px; }

.portable-infobox.pi-theme-1 .pi-background { background-color: #dfdfdf; }

.portable-infobox.pi-theme-1 .pi-title { background-color: #000000; color: #ffffff; text-align: center; border-top-left-radius: 2px; -webkit-border-top-left-radius: 2px; -moz-border-radius-topleft: 2px; border-top-right-radius: 2px; -webkit-border-top-right-radius: 2px; -moz-border-radius-topright: 2px; }

.portable-infobox.pi-theme-1 .pi-secondary-background { background-color: #000000; color: #ffffff; text-align: center; }

.portable-infobox.pi-theme-1 .pi-data-label { background: #000000; }

.portable-infobox.pi-theme-1 .pi-data:not(:last-of-type) { border-color: #bcbcbc; border-bottom-width: 1px; }

.portable-infobox.pi-theme-1 .pi-horizontal-group .pi-horizontal-group-item:not(:first-child) { border-left-color: #bcbcbc; border-left-width: 1px; border-left-style: solid; }

.portable-infobox.pi-theme-1 .pi-horizontal-group .pi-secondary-background { text-align: center; } Possible colour-schemes=caption:  &  Season I: #000 & #fff Season II: #7d7872 & #000 Season III: #851811 & #fff Season IV: #3c121b & #fff -- Randfarmer (talk) 12:48, December 28, 2015 (UTC)

Damn you beat me to this! I was literally planning to introduce these after the holidays were over, I even was looking at the code! Good job! Fetuscakes (talk) 01:27, December 29, 2015 (UTC)
 * At your service! I indeed have some time left to implement these templates over the next few weeks. Since we'd have to rework most of the episode-pages in this matter, I suggest leaving the sources abbreviated when overwriting the old code. Oh, it also looks neater! If you need help with the CSS, just give me the rights and I'll try to beat it up myself. — Randfarmer (talk) 11:05, January 3, 2016 (UTC)

Here's a screencap of how the infobox for episodes from Season I looks like after adjusting >my personal CSS<. I like to keep it neat, but let me know if you're out for something fancy (e.g. an Dethklok-Explorer look could be achieved by playing with gradients)! — Randfarmer (talk) 20:07, January 6, 2016 (UTC)
 * When I was first creating the infoboxes for this wiki I tried forever to make them good, but I could never figure out how to get the coding right. Good job, these look nice. "Gear Introduced" might be a little unnecessary though. TheDethklokGuy (talk) 04:30, January 9, 2016 (UTC)
 * To avoid confusion in first place: By "Gear" I mean equipment, e.g. new instruments or vehicles introduced in the show - not people who became part of the Klok. The Dethphones and the Dethklok "Thunderhorse" Explorer would be some of the most prominent examples here. I've deemed this bit of information noteworthy since we already have corresponding articles, but the mentioning of the stuff itself appears to drown in the text. Why do you feel they're unnecessary? And, should they be cut? — Randfarmer (talk) 12:07, January 9, 2016 (UTC)
 * You don't really see that sort of thing in Wiki infoboxes. I do think it's a good idea to mention in episode articles which gear, characters, and songs appeared, but thats something that you can have a section for at the bottom of the article. For example: The Star Wars Wiki does something similar where they include a list of various Characters, droids, weapons, and vehicles that appeared in a particular movie. Which is what inspired me to start adding in what Metalocalypse related media characters have appeared in. (Example). TheDethklokGuy (talk) 17:41, January 9, 2016 (UTC)
 * (Excuse the late answer.) Ah, I think I see where you're coming from. And you're right, it works well with the Star Wars movie-articles, but - and that's the bit that made me add it to the boxes instead - we have you face that Metalocalypse, even exploited to its minor components, is nowhere close by the calibre of the Star Wars films alone . I also think that there's a difference between a character-page, as the one given in your example, and an episode-page, which influences how either should be treated. However, if we we carried through what has been done on the SWWiki, protocolling and marking every character and gear appearing in the respective episodes, I'd be in and remove "Gear introduced". Creating a similar template seems doable. What about CSS? — Randfarmer (talk) 12:17, January 13, 2016 (UTC)