Wikia

Kuroko no Basuke Wiki

Bereisgreat

aka Captain

Wikia Star Captain
15,407 Edits since joining this wiki
July 26, 2011
  • I live in Belgium
  • I was born on November 22
  • I am an 18-year old bro


You have reached the message wall of

Bereisgreat

Please leave a message if you want to ask something or if you need any help

54.234.126.92
  Loading editor
  • So I was thinking that you guys had quite a bunch of affiliates (or alliance or however you'd call it). I was wondering if you wouldn't be interested in forming an alliance with Inazuma Eleven wiki.

    The group of contributors there is probably average younger than on this wiki (seeing as the audience of the anime/games is) but they're quite the enthusiastic bunch, and the topics of you guys' wikis are quite related, I guess.

    Also, this is not something I discussed with them, just a random thought popping up in my head, so if you do approach them, keep in mind they don't know anything about an affiliate yet.

      Loading editor
    • 54.234.126.92
        Loading editor
  • Yo!

    I don't know how to make the Switch template and the Hidden work in a wiki. Can you help me? Some css or js is needed for them but I don't know which.
    I saw the tabber on your sandbox and I want to change it's normal appearance too so I searched for it's css but it didn't worked for me. Maybe I pasted the wrong thing or something. Can you tell me which is it?

    Oh and I want to use yout HeadingRounded template too if you don't mind.

      Loading editor
    • Leo, long time no see!

      Yeah sure. For the Switch and the Hidden templates, copy/paste this code into your MediaWiki:Common.js:

      importScriptPage('ShowHide/code.js', 'dev');
      

      and

      /**
       Toggles the display of elements on a page
       Author/contact: Austin Che http://openwetware.org/wiki/User:Austin_J._Che
       See http://openwetware.org/wiki/OpenWetWare:Toggle for examples and documentation
       */
       
      // indexed array of toggler ids to array of associated toggle operations
      // each operation is a two element array, the first being the type, the second a class name or array of elements
      // operation types are strings like "_reset" or "" for the default toggle operation
      var togglers = new Array();
      var allClasses = new Object(); // associative map of class names to page elements
       
      function toggler(id) {
          var toBeToggled = togglers[id];
          if (!toBeToggled) return;
       
          // if some element is in list more than once, it will be toggled multiple times
          for (var i = 0; i < toBeToggled.length; i++) {
              // get array of elements to operate on
              var toggles = toBeToggled[i][1];
              if (typeof(toggles) == "string") {
                  if (toggles.charAt(0) == '-') {
                      // treat as an element ID, not as class
                      toggles = document.getElementById(toggles.substring(1));
                      if (toggles) toggles = new Array(toggles);
                  }
                  else toggles = allClasses[toggles];
              }
              if (!toggles || !toggles.length) continue;
       
              var op = toBeToggled[i][0]; // what the operation will be
              switch (op) {
              case "_reset":
                  for (var j in toggles)
                  toggles[j].style.display = toggles[j]._toggle_original_display;
                  break;
              case "_show":
                  for (var j in toggles)
                  toggles[j].style.display = '';
                  break;
              case "_hide":
                  for (var j in toggles)
                  toggles[j].style.display = 'none';
                  break;
              case "":
              default:
                  // Toggle
                  for (var j in toggles)
                  toggles[j].style.display = ((toggles[j].style.display == 'none') ? '' : 'none');
                  break;
              }
          }
      }
       
      function createTogglerLink(toggler, id) {
          var toggle = document.createElement("a");
          toggle.className = 'toggler-link';
          toggle.setAttribute('id', 'toggler' + id);
          toggle.setAttribute('href', 'javascript:toggler("' + id + '");');
          var child = toggler.firstChild;
          toggler.removeChild(child);
          toggle.appendChild(child);
          toggler.insertBefore(toggle, toggler.firstChild);
      }
       
      function toggleInit() {
          var togglerElems = new Array();
          var toggleGroup = new Array();
       
          // initialize/clear any old information
          togglers = new Array();
          allClasses = new Object();
          allClasses.watch = undefined;
          allClasses.unwatch = undefined;
       
       
          // make list of all document classes
          var elems = document.getElementsByTagName("*");
          var numelems = elems.length;
          for (var i = 0; i < elems.length; i++) {
              var elem = elems[i];
              if (!elem.className) continue;
       
              elem._toggle_original_display = elem.style.display;
              var togglerID = -1;
              var elemClasses = elem.className.split(' '); // get list of classes
              for (var j = 0; j < elemClasses.length; j++) {
                  var elemClass = elemClasses[j];
                  if (!allClasses[elemClass]) allClasses[elemClass] = new Array();
                  allClasses[elemClass].push(elem);
       
                  // all the special classes begin with _toggle
                  if (elemClass.substring(0, 7) != "_toggle") continue;
       
                  if (elemClass == "_togglegroup") toggleGroup = new Array();
                  else if (elemClass == "_toggle") toggleGroup.push(elem);
                  else if (elemClass.substring(0, 12) == "_toggle_init") {
                      // set initial value for display (ignore the original CSS set value)
                      // understands _toggle_initshow and _toggle_inithide
                      var disp = elemClass.substring(12);
                      if (disp == "show") elem.style.display = '';
                      else if (disp == "hide") elem.style.display = 'none';
                      elem._toggle_original_display = disp;
                  }
                  else if (elemClass.substring(0, 8) == "_toggler") {
                      if (togglerID == -1) {
                          togglerID = togglers.length;
                          togglers[togglerID] = new Array();
                          togglerElems[togglerID] = elem;
                      }
       
                      // all classes are of form _toggler_op-CLASS
                      // figure out what class we're toggling
                      // if none is specified, then we use the current toggle group
                      var toBeToggled;
                      var hyphen = elemClass.indexOf('-');
                      if (hyphen != -1) toBeToggled = elemClass.substring(hyphen + 1);
                      else {
                          toBeToggled = toggleGroup;
                          hyphen = elemClass.length;
                      }
       
                      var op = elemClass.substring(8, hyphen);
                      togglers[togglerID].push(new Array(op, toBeToggled));
                  }
              }
          }
       
          // add javascript links to all toggler elements
          for (var i = 0; i < togglerElems.length; i++)
          createTogglerLink(togglerElems[i], i);
      }
       
       
      function owwsitesearch(f) {
          f.q.value = 'site:http://openwetware.org/wiki/' + f.base.value + '++' + f.qfront.value
      }
       
       
      addOnloadHook(toggleInit);
      

      It's a long code, I know. I don't think there's an import script page for it, but heck. To be safe, just copy that long code for the Switch js.

      The tabber is some CSS I actually borrowed from somewhere else and did some changes to. Copy/paste this code in your MediaWiki:Wikia.css:

      /* Tabber */
       
      .tabberlive .tabbertab h2, .tabberlive .tabbertab h3 { 
          display:block !important; 
      }
       
      /* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */
       
      /*--------------------------------------------------
        REQUIRED to hide the non-active tab content.
        But do not hide them in the print stylesheet!
        --------------------------------------------------*/
      .tabberlive .tabbertabhide {
          display:none;
      }
       
      /*--------------------------------------------------
        .tabber = before the tabber interface is set up
        .tabberlive = after the tabber interface is set up
        --------------------------------------------------*/
      .tabber {
      }
      .tabberlive {
          margin-top:5px !important;
      }
       
      /*--------------------------------------------------
        ul.tabbernav = the tab navigation list
        li.tabberactive = the active tab
        --------------------------------------------------*/
      ul.tabbernav {
          padding: 5px !important;
          border-style: none !important;
          font: bold 14px Verdana, sans-serif;
          background: #40E0D0;
          text-align:center;
      }
       
      ul.tabbernav li {
          list-style: none;
          margin: 0;
          display: inline;
      }
       
      ul.tabbernav li a {
          padding: 3px 0.25em;
          margin-left: 1px !important;
          border-style: none !important;
          border-bottom: none;
          background: #40E0D0 !important;
          text-decoration: none;
      }
       
      ul.tabbernav li a:link { color: #fff !important; }
      ul.tabbernav li a:visited { color: #fff !important; }
       
      ul.tabbernav li a:hover {
          color: #000;
          background: #7FFFD4 !important;
      }
       
      ul.tabbernav li.tabberactive a {
          background: #7FFFD4 !important;
          border-style: none !important;
      }
       
      ul.tabbernav li.tabberactive a:hover {
          color: #fff;
          background: #7FFFD4 !important;
          border-style: none !important;
      }
       
      /*--------------------------------------------------
        .tabbertab = the tab content
        Add style only after the tabber interface is set up (.tabberlive)
        --------------------------------------------------*/
      .tabberlive .tabbertab {
          padding:3px !important;
          margin:5px !important;
          border-style: dashed !important;
          border:2;
          -moz-border-radius-bottomright:2ex;
          -moz-border-radius-bottomleft:2ex;
          border-bottom-right-radius:2ex;
          border-bottom-left-radius:2ex;
      }
       
      .tabberlive .tabbertab p {
          margin:5px !important;
      }
      

      Yup, that's it. And sure, go ahead and use the HeadingRounded for whatever you please~

        Loading editor
    • Thanks for the help. :)

        Loading editor
    • With pleasure~

        Loading editor
    • 54.234.126.92
        Loading editor
  • Hey Bere. If you are at liberty to accept or deny, would you like to affiliate this wiki to my Rave Master wiki? If so, let me know whether to upload the Rave wiki's logo here or not. Thanks!

      Loading editor
  • Hi, Bere. As you already know, I have my own wiki now. I already made an affiliation with 5 wikis already, and I was wondering if you will agree with affiliating with my wiki.

    Let me know about your decision once you have seen this message. Thanks Bere, and have a good day.

      Loading editor
  • Sup Bere, so, I just learned about this thing called WAM, which I guess is like a wiki ranking system (you may have already heard of it, but oh well :p) and I checked this wiki's rank... and *drumrollll*.... you're in like the top 2-300 of all wiki's everywhere man! here's a link!

    BOOP

    Also, I'm thinking about starting to do Blog posts about characters and chapters of OPM, whatcha' think?

      Loading editor
  • Nigga daz racist

      Loading editor
  • you're so great! :))

      Loading editor
  • Yo! Bere! It's DSM144 :)

    I was wondering if I can borrow 1 or 2 templates from KnB main page? Plz

      Loading editor
  • Hey, I've made an inter-wiki template for the Jump Square Wikis like Ao no Exorcist and Owari no Seraph and adjusted it such that it'll look good on wikis with black background. I wasn't able to find a Jump Square logo with a clear background, hence the adjusting was required. So I was wondering if you can make that image have a clear background like this one?

      Loading editor
  • Hello Bere!

    Hey, I'm having problems with this one thing, can you come and take a look at my Wiki?

    Bereisgreat at Wikia Stars

    I saw this so I ask for a little help. :)
    In our wiki (it's not english) we have a header at the top of the page. The navigation is in the middle of it and want to put it at the bottom of the header. In the past it was there but then the header disappeared (maybe the wiki didn't allow it or something) and when it appeared again it was that way. Do you know how to fix it?
    The other thing is, there are top 10 lists in our wiki but somehow the pages didn't appear in the category which is automatic when you make a top 10 list. I can see here that there are 17 pages in that category and for example in this page I can see that it is in the category but in the category page nothing appears. Is it a bug or something?

      Loading editor
    • View all 6 replies
    • Thought so. I guess it's just something that you can't really change the easy way. If you really want it the way you envision it, you're better off asking Community Central's forum or a Wikia Staff directly.

        Loading editor
    • OK, thanks for trying.

        Loading editor
    • 54.234.126.92
        Loading editor
See archived talk page
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Advertisement | Your ad here

Pages I'm following

Around Wikia's network

Random Wiki