FANDOM

Gedmundo

aka Ged

Bureaucrat Founder
  • I live in Planet Earth
  • I am Male
A FANDOM user
  Loading editor
  • PortableInfobox Band

    Hey, At the end of last year, I conceded that portable infoboxes are too restrictive for me and abandoned Wikia. A few weeks ago I received a message thanking me for something I posted in the forums in 2014 as it just solved another infobox problem. This motivated me to try again with portable infoboxes. Each portable infobox I create I have a better understanding how to adjust the design.

    I found a song infobox which I am cloning as an band portable infobox. This is it using riffipedia. The infobox template is

    <infobox theme="band">
       <title source="band"><default>{{PAGENAME}}</default></title>
       <image source="image"><alt source="caption"></alt></image>
    
       <data source="also known as"><label>Also known as</label></data>
       <data source="origin"><label>Origin</label></data>
       <data source="genres"><label>Genres</label></data>
       <data source="years active"><label>Years active</label></data>
       <data source="labels"><label>Labels</label></data>
    
     <group layout="horizontal" collapse="open">
     <header>Current members</header>
       <data source="current members"></data>
     </group>
    
     <group layout="horizontal" collapse="closed">
     <header>Past members</header>
       <data source="past members"></data>
     </group>
    
     <group layout="horizontal" collapse="closed">
     <header>Associated acts</header>
       <data source="associated acts"></data>
     </group>
     
     <group> 
     <header>Band Logo</header>
       <image source="band logo"></image>
     </group>
     <navigation>{{#if: {{{website|}}}| [http://{{{website}}} website] }}</navigation>
    </infobox>
    

    If you paste that on riffipedia, it will display in default Wikia blue. So portable infoboxes needs styling. Styling for portable infoboxes is stored in MediaWiki:Wikia.css. Only the wiki's titleholders can edit MediaWiki:Wikia.css so that is restricted to yourself and YourNamePlease.

    If you want different styles of infobox, a theme-name has to be used. As you color-coordinate your infoboxes, theme-name is required. I theme-named this MediaWiki:Wikia.css styling as band and appears on each line

    .portable-infobox.pi-theme-band { background:#eeeeee; border: 5px solid #cccccc; padding:0.5em; }
    .portable-infobox.pi-theme-band .pi-border-color { border:none; border-collapse:collapse; }
    .pi-theme-band .pi-title { font-size:100%; background:#FF8C00; border: 5px solid #000000; color:#000000; text-align:center; font-weight:900; }
    .pi-theme-band .pi-image { background:#f9f9f9; border: 1px solid #cccccc; margin-top:0.2em; }
    .pi-theme-band .pi-image-thumbnail { width:266px; padding:1px; }
    .pi-theme-band .pi-header { font-size:90%; background:#eeeeee; border: 0px solid #cccccc; text-align:center; }
    .pi-theme-band .pi-data-label { font-size:70%; background:#e3e3e3; text-align:center; color:#666666; border: 0px solid #cccccc; padding:0.5em; flex-basis: 120px; }
    .pi-theme-band .pi-data-value { font-size:70%; background:#f9f9f9; text-align:left; color:#666666; border: 0px solid #cccccc; padding:0.5em 0.8em; }
    .pi-theme-band .pi-navigation { background:#eeeeee; text-align:center; }
    .pi-theme-band .pi-navigation a { color:#3A3A3A; }
    

    IMPORTANT : After saving, you have to bypass your browser's cache to see the changes. A message should be added to the top of the MediaWiki:Wikia.css page listing all browsers methods. Also purge the infobox page (F5) if updating the styling. What each styling line does is described on the CSS help page

    The using of infoboxes is unchanged

    {{Infobox Band
     | band            = Queens Of The Stone Age
     | image           = Queens_Of_The_Stone_Age.jpg
     | caption         = 
     
     | also known as   = Gamma Ray (1996–1997)
     | origin          = Palm Desert, California
     | genres          = 
    * Alternative rock
    * Stoner rock 
    * Hard rock
     | years active    = 1996 →
     | labels          = 
    * Matador
    * MCA Music, Inc.
    * Interscope
    * Rekords Rekords
    
     | current members = <center>Josh Homme <br> Troy Van Leeuwen <br> Dean Fertita <br> Michael Shuman <br> Jon Theodore</center>
     | past members    = <center>Mark Lanegan <br> Dave Catching <br> Brendon McNichol <br> Nick Oliveri <br> Alain Johannes <br> Alfredo Hernández <br> Gene Trautmann <br> Dave Grohl <br> Joey Castillo <br> Natasha Shneider</center>
     | associated acts = <center>Eagles of Death Metal <br> Fififf Teeners <br> Kyuss <br> A Perfect Circle <br> Mondo Generator <br> Sweethead <br> The Dead Weather <br> The Desert Sessions <br> Them Crooked Vultures <br> Screaming Trees <br> Mini Mansions <br> Failure <br> Arctic Monkeys <br> Gone Is Gone</center>
     | band logo       = Queens_of_the_Stone_Age_logo.png
     | website         = www.qotsa.com
    }}
    

    TableWiz (talk)

      Loading editor
    • Thank you TableWiz. I was getting ridiculously frustrated trying to work this out myself too, and eventually just abandoned trying and stuck to my old methods.The main problem is, those with the knowledge in the community section have taken a particularly arrogant view on this and seem to be unwilling to explain any of this in terms that those without said knowlege would understand. It seems very off putting to me, and I can only imagine how aggravating it must be to people just starting out.

      I will have a try of implementing this on all my infoboxes now as it explains way better for me than anything I've seen. May hit you up again soon if I need any more help.

      Thanks a million man, I appreciate it

        Loading editor
    • A FANDOM user
        Loading editor
  • I don't think there are any genre pages yet, besides the one I just created, so there if no genre infobox that I saw. Is this something that you have to create, or could I create it?

      Loading editor
  • HYAH

      Loading editor
  • Hey, the site will not let me change GodheadSilo to godheadSilo. The band spells their name in the second way. Maybe you could use your administrative powers to override this?

      Loading editor
    • Hey, yeah I think it's something only admins can do. I'll sort that for you. :)I had to delete Sublime the other day btw. Great band, but they don't really fit any of the stoner rock genres.

        Loading editor
    • Just tried to rename, I think wikia makes it so that you have to have capital letters at the start by the looks. No problem though, as when you do the write up on the page, you can call them 'godheadSilo' any time you mention their name.

        Loading editor
    • Yeah, I wasn't sure about Sublime, but I guess now I know. And thanks for sorting that out.

        Loading editor
    • A FANDOM user
        Loading editor
  • no bushfire? www.bushfiremusic.com

      Loading editor
    • Hey fella, I'm just one man haha. It's a wiki, only started 6 months ago, and growing day in, day out, but it's a long process. You could always help me out though. This site is set up to work like Wikipedia - anybody can edit it. I've set up the skeleton of the page here and I have an edit guide set up to help you out.

      But so long as you can provide the information (all factual, no opinions) I can make it look good for you.

      In other words, more than happy to add a Bushfire page - I want every stoner, doom, sludge, psych, fuzz and drone band on here eventually, and every album, festival, musician of the genre too - but if you help me out, your page will be up quicker and look better.

      Peace brother :)

        Loading editor
    • A FANDOM user
        Loading editor
  • Hello, We're excited to have Riffipedia - The Stoner Rock Wiki as part of the Wikia community!

    There's still a lot to do; here are some helpful tips and links to get your wiki going:

    All of the above links are a great place to start exploring, and have fun!

      Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.