×
Create a new article
Write your page title here:
We currently have 770 articles on Angry Birds Wiki. Type your article name above or create one of the articles listed here!



    Angry Birds Wiki
    770Articles

    User:KurwaAntics/UserRightsIconsZH.js

    < User:KurwaAntics
    Revision as of 14:25, 5 August 2016 by Wikia (talk | contribs) (Wikia moved page User:Yhynerson1/UserRightsIconsZH.js to User:KurwaAntics/UserRightsIconsZH.js: Automatically moved page while renaming the user "Yhynerson1" to "KurwaAntics")
    (diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
    This wiki has been automatically closed because there have been no edits or log actions made within the last 60 days. If you are a user (who is not the bureaucrat) that wishes for this wiki to be reopened, please request that at Requests for reopening wikis. If this wiki is not reopened within 6 months it may be deleted. Note: If you are a bureaucrat on this wiki, you can go to Special:ManageWiki and uncheck the "Closed" box to reopen it.

    Note: After publishing, you may have to bypass your browser's cache to see the changes.

    • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
    • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
    • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
    • Opera: Press Ctrl-F5.
    // 20:11, November 2, 2012 (UTC)
    // <source lang="JavaScript">
     
    // WRITTEN BY User:Rappy_4187
    // If you use this on your wiki, you assume responsibility for
    // ensuring compliance with Wikia’s ToU
     
    // BEGIN CREATING ADDITIONAL USER RIGHTS ICONS FOR PROFILEMASTHEADS
    // THIS IS A CHINESE VERSION OF USER RIGHT ICONS. APPLIED TO ONE USER ONLY.
    function addMastheadTags() {
      var rights = {};
     
      // BEGIN List of Accounts Given Extra User Rights Icons
     
        rights["Qazqaz555"]                 = ["管理員"],
        rights["Superjustinbros."]          = ["管理員", "行政員"],
        rights["Shrev64"]                   = ["管理員", "行政員", "理事"],
        rights["Brendan The Bomb Bird"]     = ["管理員"],
        rights["The Boomerang"]             = ["管理員", "行政員"],
        rights["Angry Bird Piggy"]          = ["管理員"],
        rights["Angry Hearts"]              = ["管理員", "行政員"],
        rights["Lightening McQueen"]        = ["回退暨文法修正員"]
        rights["Redbird25"]                 = ["回退暨文法修正員"],
        rights["PerfectionistaBird"]        = ["管理員"],
        rights["Boarba Fett"]               = ["條目改進員"]
        rights["Bp101697"]                  = ["管理員"]
        rights["SugarPenguin12"]            = ["回退暨文法修正員"],
        rights["Phanminhnhat"]              = ["管理員"];
     
      // END List of Accounts Given Extra User Rights Icons
     
      // BEGIN Script to Remove Old Rights Icons & Insert New
     
        if (wgCanonicalSpecialPageName == "Contributions") {
          var user = 
    wgPageName.substring(wgPageName.lastIndexOf("/")+1).replace(/_/g," ");
        } else { var user = wgTitle; }
     
        if (typeof rights[user] != "undefined") {
     
          // remove old rights
          $('.UserProfileMasthead .masthead-info span.tag').remove();
     
          for( var i=0, len=rights[user].length; i < len; i++) {
     
            // add new rights
            $('<span class="tag" span style="margin-left: 10px !important">' + 
    rights[user][i] +
              '</span>').appendTo('.masthead-info hgroup');
          }
        }
     
      // END Script to Remove Old Rights Icons & Insert New
     
    };
     
    $(function() {
      if ($('#UserProfileMasthead')) {
        addMastheadTags();
      }
    });
     
    // END CREATING ADDITIONAL USER RIGHTS ICONS FOR PROFILEMASTHEADS
     
    // </source>
    
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.