MediaWiki:Common.js

From WilhelmWiki

Share/Save/Bookmark
Jump to: navigation, search
(Created page with "- Any JavaScript here will be loaded for all users on every page load.: if (mwCustomEditButtons) { mwCustomEditButtons[mwCustomEditButtons.length] = { "imageFile": "...")
Line 9: Line 9:
     "sampleText": "Insert text"};
     "sampleText": "Insert text"};
   
   
-
  mwCustomEditButtons[mwCustomEditButtons.length] = {
+
 
-
    "imageFile": "http://http://www.thewilhelms.net/skins/common/images/Button_pers.png",
+
-
    "speedTip": "Blank person template",
+
-
    "tagOpen": "{{Infobox ancestor
+
-
| name = ",
+
-
    "tagClose": "| image =
+
-
| birthdate =
+
-
| location =
+
-
| deathdate =
+
-
| deathplace =
+
-
| father =
+
-
| mother =
+
-
| spouse =
+
-
}}
+
-
+
-
'''FirstName MiddleName LastName''' (birthdate - deathdate)
+
-
+
-
==Biography==
+
-
+
-
==Images==
+
-
+
-
==Sources==
+
-
+
-
[[Category:People|LastName, FirstName MiddleName]]",
+
-
    "sampleText": "FirstName MiddleName LastName"};
+
-
+
   mwCustomEditButtons[mwCustomEditButtons.length] = {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://http://www.thewilhelms.net/skins/common/images/Button_tree.png",
     "imageFile": "http://http://www.thewilhelms.net/skins/common/images/Button_tree.png",

Revision as of 02:28, 16 April 2012

/* Any JavaScript here will be loaded for all users on every page load. */

 if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://http://www.thewilhelms.net/skins/common/images/Button_redirect.png",
     "speedTip": "Redirect",
     "tagOpen": "#REDIRECT [[",
     "tagClose": "]]",
     "sampleText": "Insert text"};
 

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://http://www.thewilhelms.net/skins/common/images/Button_tree.png",
     "speedTip": "Blank family tree",
     "tagOpen": "<br />",
     "tagClose": "",
     "sampleText": ""};


  }