Difference between revisions of "User: Rael/gumaxvn.js"

From Teknologisk videncenter
Jump to: navigation, search
m
m
 
Line 19: Line 19:
 
     "tagOpen": "{|\r\n|[[Image:",
 
     "tagOpen": "{|\r\n|[[Image:",
 
     "tagClose": "|800px|left|thumb|Image text]]\r\n|}",
 
     "tagClose": "|800px|left|thumb|Image text]]\r\n|}",
 +
    "sampleText": ""}
 +
 +
  mwCustomEditButtons[mwCustomEditButtons.length] = {
 +
    "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
 +
    "speedTip": "source lang=cli boxe",
 +
    "tagOpen": "<source lang=cli>",
 +
    "tagClose": "</source>",
 
     "sampleText": ""}
 
     "sampleText": ""}
 
   
 
   

Latest revision as of 16:57, 16 October 2014

if (mwCustomEditButtons) {
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/1/13/Button_enter.png",
     "speedTip": "Comment visible only for editors",
     "tagOpen": "<br/>",
     "tagClose": "",
     "sampleText": ""}
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/c/c9/Button_strike.png",
     "speedTip": "Comment visible only for editors",
     "tagOpen": "<s>",
     "tagClose": "</s>",
     "sampleText": "Striked text"}
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://mars.tekkom.dk/mediawiki/skins/common/images/button_image.png",
     "speedTip": "Insert Picture Box",
     "tagOpen": "{|\r\n|[[Image:",
     "tagClose": "|800px|left|thumb|Image text]]\r\n|}",
     "sampleText": ""}

   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
     "speedTip": "source lang=cli boxe",
     "tagOpen": "<source lang=cli>",
     "tagClose": "</source>",
     "sampleText": ""}
 
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
     "speedTip": "Input for source lang=cli boxes",
     "tagOpen": "<input>",
     "tagClose": "</input>",
     "sampleText": "Input text"}
   
   mwCustomEditButtons[mwCustomEditButtons.length] = {
     "imageFile": "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
     "speedTip": "notice for source lang=cli boxes",
     "tagOpen": "<notice>",
     "tagClose": "</notice>",
     "sampleText": "Input text"}
}