User:Rocket000/customEditButtons.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 70: | Line 70: | ||
mwCustomEditButtons.push({ |
mwCustomEditButtons.push({ |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/ |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/c/c0/Knop_onzijdig.png", |
||
"speedTip": "VN (en)", |
|||
"tagOpen": "{{VN\n|en=", |
|||
"tagClose": "\n}}", |
|||
"sampleText": "" |
|||
}); |
|||
mwCustomEditButtons.push({ |
|||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4f/Button_template_alt2.png", |
|||
"speedTip": "VN", |
"speedTip": "VN", |
||
"tagOpen": "{{VN\n", |
"tagOpen": "{{VN\n", |
||
Line 86: | Line 78: | ||
mwCustomEditButtons.push({ |
mwCustomEditButtons.push({ |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/ |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/97/Button_S_italic.png", |
||
"speedTip": "Start SN", |
"speedTip": "Start SN", |
||
"tagOpen": "{{SN\n|''", |
"tagOpen": "{{SN\n|''", |
Revision as of 01:57, 5 November 2009
//<nowiki>
function addButton() {
return;
}
if(mwCustomEditButtons) {
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/99/Button_reflink_advanced_2.png",
"speedTip": "Gallery-to-category redirect",
"tagOpen": "#REDIRECT [[:Category:",
"tagClose": "]]",
"sampleText": wgTitle
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/26/Button_plainlinks.png",
"speedTip": "Plainlinks",
"tagOpen": "<span class=\"plainlinks\">",
"tagClose": "</span>",
"sampleText": ""
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1e/Button_font_color.png",
"speedTip": "Colored text",
"tagOpen": "<span style=\"color:#COLOR\">",
"tagClose": "</span>",
"sampleText": ""
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png",
"speedTip": "Support",
"tagOpen": "* {{Support}} ",
"tagClose": " ~~~~",
"sampleText": ""
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png",
"speedTip": "Oppose",
"tagOpen": "* {{Oppose}} ",
"tagClose": " ~~~~",
"sampleText": ""
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4e/Button_neutre.png",
"speedTip": "Neutral",
"tagOpen": "* {{Neutral}} ",
"tagClose": " ~~~~",
"sampleText": ""
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a0/Button_keep.png",
"speedTip": "Keep",
"tagOpen": "* {{vk}} ",
"tagClose": " ~~~~",
"sampleText": ""
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/13/Button_delete.png",
"speedTip": "Delete",
"tagOpen": "* {{vd}} ",
"tagClose": " ~~~~",
"sampleText": ""
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/c/c0/Knop_onzijdig.png",
"speedTip": "VN",
"tagOpen": "{{VN\n",
"tagClose": "\n}}",
"sampleText": ""
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/97/Button_S_italic.png",
"speedTip": "Start SN",
"tagOpen": "{{SN\n|''",
"tagClose": "\n}}",
"sampleText": ""
});
var g = wgTitle.split(' ')[0];
var s = wgTitle.split(' ')[1];
if(s != undefined) s = '\n|species='+s; else s = '';
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/97/Template_button.png",
"speedTip": "{{Lepidoptera}}",
"tagOpen": "{{Lepidoptera\n|familia=",
"tagClose": "\n|subfamilia=\n|tribus=\n",
"sampleText": ""
});
mwCustomEditButtons.push({
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/97/Template_button.png",
"speedTip": "{{Lepidoptera}}",
"tagOpen": "|genus="+g+s+"\n|auth=",
"tagClose": "\n}}",
"sampleText": ""
});
/*
http://upload.wikimedia.org/wikipedia/commons/b/b8/Button_number_0.png
http://upload.wikimedia.org/wikipedia/commons/8/8e/Button_number_1.png
http://upload.wikimedia.org/wikipedia/commons/b/bd/Button_number_2.png
http://upload.wikimedia.org/wikipedia/commons/8/80/Button_number_3.png
*/
}
//</nowiki>