Wikia

Community Central

Penguin-Pal

1,487 Edits since joining this wiki
October 20, 2011
54.196.159.11
  Loading editor
  • Hello! I was just wondering, if you're not that busy, could you please help me find the problem why the text are not all in line in a wiki I'm admin in? :)

    I'm really sorry for bothering you, but I hope you could help me ^-^

      Loading editor
  • Hi I need help with this template: http://hypotheticaleverything.wikia.com/wiki/Template:Infobox_earthquake it seems to want to gobble up every bit of wording in articles it would be in and I want to know how to make it so it doesn't engulf the whole article wording 

      Loading editor
  • Hi I'm wondering how to implement a color option to this so you can make the administration box any color and make active, semi active, and inactive show up in a green, yellow, and red box http://hypothetical-stars.wikia.com/wiki/Template:Administration

      Loading editor
    • View all 5 replies
    • .hs-template.administration hr {
          border: 1px solid black;
          box-shadow: 2px 2px 5px black;
          position: absolute;
          width: 38%;
          width: calc(40% - 15px);
          margin-right: 10px !important;
      }

      like this?

        Loading editor
    • Yes (sorry about the late reply btw)

        Loading editor
    • 54.196.159.11
        Loading editor
  • http://hypothetical-stars.wikia.com/wiki/MediaWiki:Chat.js what did I do wrong the "chat moderator" checkbox wont promote someone to a mod, can you fix it please?

      Loading editor
  • Hi I was wondering if you could take a look at this please, the last time you helped me out alot.

    Thanks in advance.  :)

      Loading editor
    • 54.196.159.11
        Loading editor
  • i want to be loged so i can add pictures to commando 2 wiki

      Loading editor
    • 54.196.159.11
        Loading editor
  • Hello,

    First, I'm french so sorry for my english.

    I was looking for a automatic script to post template in this page because people had difficulties to put it.

    I achieved to do it but he created new section each time. So, I tried to add contents to page without creating new section.

    And I came across this script that does what I was looking for. This works perfectly but the script have to put ---- to separate template but it made a space at each line like so the ---- looks like :

    ----
    

    How can I fix this issue ?


    Thank you in advance for your help and congratulations for your hard work in js and jquery.

    PS : My code is here.

      Loading editor
    • View all 10 replies
    • Hi, sorry about the delay. So yes, you would need not to use the summary and sectiontitle if using this method, but only to add section: "new", after where it says text: page, and also not to add the current page content to your new section's text. But you are correct, if a summary is needed, this method would not be ideal.

        Loading editor
    • It works well. Thank you for your help.

        Loading editor
    • 54.196.159.11
        Loading editor
  • 1) I saw topic Thread:716186, can you give info about adding items in this menu? Hjhjgfdtysd


    2) Can I delete unused items here?

      Loading editor
    • Hi there. First of all, to add items, you can do the following:

      $('#WikiHeader > .buttons .WikiaMenuElement').append(
      	'<li><a href="SomeLink1">Some text</li>' +
      	'<li><a href="SomeLink2">Some text</li>' +
      	'<li><a href="SomeLink3">Some text</li>' +
      	'<li><a href="SomeLinkEtc.">Some text</li>'
      );

      When it comes for removing default links, it should only be done via your personal JS pages. It is technicaly possible to do with CSS, but if you start adding list items with JavaScript, it is best to also remove items using JavaScript:

      $('#WikiHeader > .buttons .WikiaMenuElement [data-id="createpage"]').parent().hide();

      Each default link on the dropdown has an attribute called data-id with a different value, which allows you to easily select a given list item. On this example, it selects the list item from the dropdown that contains a link with a data-id attribute set to createpage, which will then remove the "Add a Page" link.
      A more efficient way for removing multiple items from the dropdown would be the following:

      $(function() {
      	var itemsToRemove = ["Add a Photo", "Add a Page"];
      	$("#WikiHeader > .buttons .WikiaMenuElement li").each(function() {
      		if (itemsToRemove.indexOf($(this).find("a").text()) > -1) {
      			$(this).hide();
      		}
      	});
      });

      Where the text of each item that you would like to remove is added to itemsToRemove.

        Loading editor
    • Thanks alot. It was very hard find this info.
      Have a nice day.
        Loading editor
    • 54.196.159.11
        Loading editor
  • I CHANGED MY PROFILE PICTURE UNBLOCK ME PLEASE :)

      Loading editor
    • Hi there,
      Please note that we've had a few users earlier that posted inappropriate messages and have been blocked for that. In addition, you've change your avatar specifically to something inappropriate seconds before joining chat. Due to that, i'm afraid that it would be irresponsible to unblock you from the wiki for now.

        Loading editor
    • 54.196.159.11
        Loading editor
See archived talk page
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message

Around Wikia's network

Random Wiki