//============================================================
// en: ADD SOME EXTRA BUTTONS TO THE EDITPANEL
// Optimized script from [[User:MarkS/extraeditbuttons.js]]
// More info at [[User:MarkS/Extra edit buttons]]
//============================================================
//<pre>
XEBOrder='A,B,N,D,C,D1,F,U,S,I1,I2,J1,J2,E,AI,G,Q,W,X,K,L,M,H,O,P,R,R1,R2,R3,R4,T,Y1,Y2,Z';
rmEditButtons=[];
myButtons=[];
//</pre>
// Script from [[User:MarkS/extraeditbuttons.js]]
//<pre>
document.write('<script type="text/javascript" src="'
+ 'http://en.wikipedia.org/w/index.php?title=User:MarkS/extraeditbuttons.js'
+ '&action=raw&ctype=text/javascript&dontcountme=s"><\/s'+'cript>');
<!--//
var BDict={
'A':['e/e9/Button_headline2.png','Secondary headline','\n===','===','Secondary headline'],
'B':['1/13/Button_enter.png','Line break','<br \/>','',''],
'C':['5/5f/Button_center.png','Center','<div style="text-align:center;">\n','\n<\/div>','Centred text'],
'D':['e/ea/Button_align_left.png','Left-Align','<div style=\"text-align:left;direction:ltr;margin-left:1em;">\n','\n<\/div>','Left-aligned text'],
'D1':['a/a5/Button_align_right.png','Right-Align','<div style="text-align:right;direction:ltr;margin-left:1em;">\n','\n<\/div>','Right-aligned text'],
'E':['0/04/Button_array.png','Table','\n{| class="wikitable" \n|- \n| 1 || 2\n|- \n| 3 || 4','\n|}\n',''],
'F':['1/1e/Button_font_color.png','Insert coloured text','<span style=\"color: ','\">Coloured text<\/span>','ColourName'],
'FS':['1/1b/Button_miss_signature.png','Unsigned post','{{subst:unsigned|','|date}}','user name or IP'],
'G':['9/9e/Btn_toolbar_gallery.png','Picture gallery',"\n<gallery>\nImage:","|[[M63]]\nImage:Mona Lisa.jpg|[[Mona Lisa]]\nImage:Truite arc-en-ciel.jpg|Eine [[Forelle ]]\n<\/gallery>",'M63.jpg'],
'H':['7/74/Button_comment.png','Comment','<\!--','-->','Comment'],
'I1':['6/6a/Button_sup_letter.png','Superscript','<sup\>','<\/sup>','Superscript text'],
'I2':['a/aa/Button_sub_letter.png','Subscript','<sub\>','<\/sub>','Subscript text'],
'J1':['5/58/Button_small.png','Small','<small\>','<\/small>','Small text'],
'J2':['5/56/Button_big.png','Big','<big\>','<\/big>','Big text'],
'K':['b/b4/Button_category03.png','Category','\[\[Category:','\]\]','Category name'],
'L':['8/8e/Button_shifting.png','Insert tab(s)',':','',':'],
'M':['f/fd/Button_blockquote.png','Blockquote','<blockquote>\n','\n<\/blockquote>','Insert block of quoted text'],
'N':['4/4b/Button_nbsp.png','Nonbreaking space',' ','','Non-breaking space'],
'O':['2/23/Button_code.png','Code','<code>','<\/code>','Insert code'],
'P':['3/3c/Button_pre.png','Pre-formatted','<pre>','<\/pre>','Insert pre-formatted text'],
'P1':['9/93/Button_sub_link.png','Sub-Page','\[\[','/Sub_Page\]\]','Insert link to sub-page'],
'Q':['d/d3/Button_definition_list.png','Definition list','\n; ','\n: Item 1\n: Item 2','Insert Definition list'],
'R':['7/79/Button_reflink.png','Insert a reference','<ref>','<\/ref>','Insert reference material'],
'R1':['7/79/Button_reflink.png','Start a reference','<ref name=\"','','Reference name'],
'R2':['1/1c/Button_reflink_advanced_2.gif','Insert reference material','\">','<\/ref>','Reference material'],
'R3':['2/28/Button_reflink_advanced_3.gif','No reference material','','\" \/>',''],
'R4':['9/9a/Button_references.png','Reference footer','\n==References==\n<div class=\"references-small\">\n<references />\n</div>','',''],
'S':['c/c9/Button_strike.png','Strikeout','<s>','<\/s>','Struck out text'],
// 'S1':['c/c9/Button_del.png','Deleted','<del>','<\/del>','Deleted text'],
// 'S2':['c/c9/Button_ins.png','Inserted','<ins>','<\/ins>','Inserted text'],
'T':['e/eb/Button_plantilla.png','Template','{{','}}','Template name'],
'T1':['3/30/Tt_icon.png','Teletype','<tt>','<\/tt>','Teletype text'],
'U':['f/fd/Button_underline.png','Underlined','<u>','<\/u>','Underlined text'],
'V':['c/c8/Button_redirect.png','Redirect','#REDIRECT \[\[','\]\]','Article Name'],
'W':['8/88/Btn_toolbar_enum.png','Numbering','\n# ','\n# Element 2\n# Element 3','Element 1'],
'X':['1/11/Btn_toolbar_liste.png','List',"\n* ","\n* Element B\n* Element C",'Element A'],
'Y1':['c/ce/Button_no_include.png','No include',"<noinclude>","<\/noinclude>",'Do not include this text'],
'Y2':['7/79/Button_include.png','Include only',"<includeonly>","<\/includeonly>",'Include this text only'],
'Z':['3/35/Button_substitute.png','Substitute',"{{subst:","}}",'Template'],
'AI':['1/1c/Button_advanced_image.png','Advanaced Image','\[\[Image:','|thumb|right|px|Caption\]\]','FileName.jpg']
}
//-->
//</pre>