var enExtraButtons=mwCustomEditButtons.length;
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','<small>—The preceding [[Wikipedia:Signatures|unsigned]] comment was added by [[User:','|',']] ([[User talk:','|talk]] • [[Special:Contributions/','|contribs]]){{#if:date| date|}}.</small><!-- Template:Unsigned -->','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 text','<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','Insert block of quoted text','<blockquote style="border: 1px solid blue; padding: 2em;">\n','\n<\/blockquote>','Block quote'],
'N':['4/4b/Button_nbsp.png','nonbreaking space',' ','',''],
'O':['2/23/Button_code.png','Insert code','<code>','<\/code>','Code'],
'P':['3/3c/Button_pre.png','Pre formatted Text','<pre>','<\/pre>','Pre formatted text'],
'P1':['9/93/Button_sub_link.png','Insert link to sub-page','[[','/Sub_Page]]','Page'],
'Q':['d/d3/Button_definition_list.png','Insert definition list','\n; ','\n: Item 1\n: Item 2','Definition'],
'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':['9/99/Button_reflink_advanced_2.png','Insert reference material','">','</ref>','Reference material'],
'R3':['1/1a/Button_reflink_advanced_3.png','No reference material','','"/>',''],
'R4':['9/9a/Button_references.png','Reference footer',"\n==Notes==\n<!--See http://en.wikipedia.org/wiki/Wikipedia:Footnotes for an explanation of how to generate footnotes using the <ref(erences/)> tags-->\n<div class=\'references-small\'>\n<references/>\n</div>",'',''],
'S':['c/c9/Button_strike.png','Strikeout','<s>','<\/s>','Struck out text'],
'T':['e/eb/Button_plantilla.png','Template','{{','}}','Template name'],
'TS':['a/a4/TableStart.png','Start a table','{|','',''],
'TC':['7/71/TableCell.png','Table cell','|','',''],
'TE':['0/06/TableEnd.png','End a table','','|}',''],
'TR':['4/4c/TableRow.png','Start a table row','|-','',''],
'T1':['3/30/Tt_icon.png','Teletype text','<tt>','<\/tt>','Teletype Text'],
'TL':['3/37/Button_tl_template.png','Template link',"{{subst:"+"tl|",'}}','Template name'],
'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>",'Text'],
'Y2':['7/79/Button_include.png','Include only',"<includeonly>","<\/includeonly>",'Text'],
'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'],
'GEO':['b/b8/Button_Globe.png','Geo ___location',"","",""],
'TALK':['4/49/Button_talk.png','Add talk template',"","",""]
};
{
hideXEBPopup();
if(itm==1)code='Thank you for experimenting with {{#if:|the page [[:]] on}} Wikipedia{{#if:{{{diff|}}}| as you did with [{{{diff}}} this edit]}}. Your test worked, and it has been [[Help:Reverting|reverted]] or removed. Please use [[Wikipedia:Sandbox|the sandbox]] for any other tests you may want to do. Take a look at the [[Wikipedia:Introduction|welcome page]] to learn more about contributing to our encyclopedia.<!-- Template:Test (first level warning) -->';
if(itm==1)code='{{subst:test1-n|}}';
if(itm==2)code='[[Image:Information.svg|25px]] Welcome to Wikipedia. Thank you for experimenting{{{{{subst|}}}#if:| with the page [[:]]}}, and for [[Help:Reverting|reverting]] your edits. Please take a look at the [[Wikipedia:Introduction|welcome page]] to learn more about contributing to our encyclopedia. If you would like to experiment again, please use the [[Wikipedia:Sandbox|sandbox]] next time. {{{2|}}} <!-- {{test-self}} -->';
if(itm==2)code='{{subst:selftest-n|}}';
if(itm==3)code='Please do not add nonsense to Wikipedia{{#if:|, as you did {{#if:{{{diff|}}}|with [{{{diff}}} this edit]}} to the [[:]] page|{{#if:{{{diff|}}}|, as you did with [{{{diff}}} this edit]}}}}. It is considered [[Wikipedia:Vandalism|vandalism]]. If you would like to experiment, use the [[Wikipedia:Sandbox|sandbox]]. Thank you. <!-- Template:Test2 (second level warning) -->';
if(itm==3)code='{{subst:test2-n|}}';
if(itm==4)code='Please stop. If you continue to [[Wikipedia:Vandalism|vandalize]] pages, {{#if:|as you did {{#if:{{{diff|}}}|with [{{{diff}}} this edit]}} to [[:]],|{{#if:{{{diff|}}}as you did with [{{{diff}}} this edit],}}}} you will be [[Wikipedia:Blocking policy|blocked]] from editing Wikipedia. <!-- Template:Test3 (Third level warning) -->';
if(itm==4)code='{{subst:test3-n|}}';
if(itm==5)code='{{{icon|[[Image:Stop hand nuvola.svg|30px|left]] }}}This is your '''last warning'''. The next time you [[Wikipedia:Vandalism|vandalize]] Wikipedia{{{{{subst|}}}#if:|, as you did to [[:]]}}, you will be [[Wikipedia:Blocking policy|blocked]] from editing. {{{2|}}}<!-- Template:uw-vandalism4 -->';
if(itm==5)code='{{subst:test4-n|}}';
if(itm==6)code='Please do not remove content from Wikipedia{{#if:|, as you did to [[:]]}}. It is considered [[Wikipedia:Vandalism|vandalism]]. If you would like to experiment, please use the [[Wikipedia:Sandbox|sandbox]]. Thank you. <!-- Template:Test2a (Second level warning) -->';
if(itm==6)code='{{subst:test2a-n|}}';
if(itm==7)code='[[Image:Stop hand.svg|left|30px]] Welcome to Wikipedia. We invite everyone to contribute constructively to our encyclopedia. Take a look at the [[Wikipedia:Introduction|welcome page]] if you would like to learn more about contributing. However, unconstructive edits{{#if:|, such as those you made to [[:]],}} are considered [[Wikipedia:Vandalism|vandalism]] and are immediately reverted. If you continue in this manner you may be '''[[Wikipedia:blocking policy|blocked]] from editing without further warning'''. Please stop, and consider improving rather than damaging the work of others. Thank you. <!-- Template:Blatantvandal (serious warning) -->';
if(itm==7)code='{{subst:bv-n|}}';
if(itm==8)code='{{subst:blantant|}}';
if(itm==9)code='Please do not add inappropriate external links to Wikipedia{{{{{subst|}}}#if:|, as you did in [[:]]}}. [[Wikipedia:What Wikipedia is not#Wikipedia_is_not_a_directory|Wikipedia is not a mere directory of links]] nor should it be used for advertising or promotion. Inappropriate links include (but are not limited to) links to personal web sites, links to web sites with which you are affiliated, and links that exist to attract visitors to a web site or promote a product. See [[Wikipedia:External links|the external links guideline]] and [[Wikipedia:Spam|spam policies]] for further explanations of links that are considered appropriate. If you feel the link should be added to the article, then please discuss it on the article's talk page rather than re-adding it. See the [[Wikipedia:Welcome, newcomers|welcome page]] to learn more about Wikipedia. Thank you.<!-- Template:Spam -->';
if(itm==9)code='{{subst:spam-n|}}';
if(itm==10)code='Please read [[Wikipedia:Neutral point of view|Wikipedia's neutral point of view policy]], which all articles must follow. {{#if:{{{1|}}}|This is especially a concern at [[:{{{1}}}]].}} Wikipedia is a neutral, [[Wikipedia:Verifiability|verifiable]] [[encyclopedia]]; it is not a place to argue a particular point of view. Thank you.<!-- Template:NPOV0 -->';
if(itm==10)code='{{subst:NPOV user}}';
insertTags('','', code);
|