FANDOM


  • This wiki is still using the older type of infoboxes. Most other communities have already converted to the newer, portable type, and it's recommended that we do the same. Do you have experience with converting infoboxes?

      Loading editor
    • I don't have experience with that though yes, I think we should follow through and update them to the portable-type infoboxes.

        Loading editor
    • Alright. Now, you imported the templates from the Phineas and Ferb Wiki, right? We recently had our templates converted there, so I'll try duplicating the code and maybe whipping up some new CSS along the way to see to it that they're updated.

        Loading editor
    • This is the code that will allow the portable infoboxes to appear identical to the current ones. Can you please paste it on MediaWiki:Wikia.css?

      /* Portable Infoboxes */
      .portable-infobox {
          background-color:#F2F2F2;
          border:1px solid #AAAAAA;
          border-radius:10px;
          border-spacing:2px;
          color:black;
          padding:2px;
          width:200px;
          font-size:90%;
      }
      .pi-title {
          background-color:#61CE2D;
          color:white;
          font-size:medium !important;
          border-radius:0.5em 0.5em 0 0;
          text-align:center;
          font-weight:bold;
          padding:0px;
          line-height:1.0 !important;
      }
      .pi-secondary-background,
      .pi-navigation {
          background-color:#61CE2D;
          color:white;
          font-size:small !important;
          text-align:center;
          font-weight:bold;
          padding:0px;
          line-height:1.0 !important;
      }
      .pi-caption {
          text-align:center;
          font-weight:bold;
      }
       
      .pi-date {
          border-top:0;
          border-bottom:0;
      }
      .pi-image,
      .pi-image-thumbnail {
          width:200px;
          height:auto;
      }
      .pi-border-color {
          border-bottom-style:none;
      }/*/
        Loading editor
    • Done. (I like to practice Japanese when I'm not on FANDOM, which is why I didn't get to this immediately.)

        Loading editor
    • No worries. By the way, we are having a discussion on user rights. Feel free to chip in if you want.

        Loading editor
    • Hey, could you go to MediaWiki:Wikia.css and change all instances of #61CE2D in the portable infobox code you inserted earlier to #AFE96A? You see, #AFE96A was the default infobox color while #61CE2D was only used for special episodes like "Missing Milo".

      We also made use of Template:Changeep and Template:Changechar for infoboxes prior to the switch of portable infoboxes. I'll look at what Vozhan has done to make that work on the PnF wiki and try to whip up a code that could also be inserted in this wiki's Wikia.css.

        Loading editor
    • Okay, I think I'm done on my part. After you replace all instances of #61CE2D from Vozhan's infobox code to #AFE96A, could you please add this to MediaWiki:Wikia.css?

       /* Alternate infobox themes start */
      /* Characters: */
      .portable-infobox.type-character .pi-title, 
      .portable-infobox.type-character .pi-secondary-background,
      .portable-infobox.type-character .pi-navigation {
          background-color:#AFE96A;
      }
       
      .portable-infobox.type-character.pi-theme-Main .pi-title, 
      .portable-infobox.type-character.pi-theme-Main .pi-secondary-background,
      .portable-infobox.type-character.pi-theme-Main .pi-navigation {
          background-color:#9FED40;
      }
       
      .portable-infobox.type-character.pi-theme-Sec .pi-title, 
      .portable-infobox.type-character.pi-theme-Sec .pi-secondary-background,
      .portable-infobox.type-character.pi-theme-Sec .pi-navigation {
          background-color:#A8E042;
      }
       
      .portable-infobox.type-character.pi-theme-Special .pi-title, 
      .portable-infobox.type-character.pi-theme-Special .pi-secondary-background,
      .portable-infobox.type-character.pi-theme-Special .pi-navigation {
          background-color:#61CE2D;
      }
       
      .portable-infobox.type-character.pi-theme-PnF .pi-title, 
      .portable-infobox.type-character.pi-theme-PnF .pi-secondary-background,
      .portable-infobox.type-character.pi-theme-PnF .pi-navigation {
          background-color:#FFAA00;
      }
       
      /* Episodes: */
      .portable-infobox.type-episode .pi-title, 
      .portable-infobox.type-episode .pi-secondary-background,
      .portable-infobox.type-episode .pi-navigation {
          background-color:#AFE96A;
      }
       
      .portable-infobox.type-episode.pi-theme-1 .pi-title, 
      .portable-infobox.type-episode.pi-theme-1 .pi-secondary-background,
      .portable-infobox.type-episode.pi-theme-1 .pi-navigation {
          background-color:#A8E042;
      }
       
      .portable-infobox.type-episode.pi-theme-2 .pi-title, 
      .portable-infobox.type-episode.pi-theme-2 .pi-secondary-background,
      .portable-infobox.type-episode.pi-theme-2 .pi-navigation {
          background-color:#BEE033;
      }
       
      .portable-infobox.type-episode.pi-theme-3 .pi-title, 
      .portable-infobox.type-episode.pi-theme-3 .pi-secondary-background,
      .portable-infobox.type-episode.pi-theme-3 .pi-navigation {
          background-color:#D8D121;
      }
       
      .portable-infobox.type-episode.pi-theme-4 .pi-title, 
      .portable-infobox.type-episode.pi-theme-4 .pi-secondary-background,
      .portable-infobox.type-episode.pi-theme-4 .pi-navigation {
          background-color:#E9DA35;
      }
       
      .portable-infobox.type-episode.pi-theme-special .pi-title, 
      .portable-infobox.type-episode.pi-theme-special .pi-secondary-background,
      .portable-infobox.type-episode.pi-theme-special .pi-navigation {
          background-color:#61CE2d;
      }
       
      /* Alternate infobox themes end */
        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
Community content is available under CC-BY-SA unless otherwise noted.