User:Rocket000/customEditButtons.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
} |
} |
||
if(mwCustomEditButtons) |
if(mwCustomEditButtons){ |
||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
Line 70: | Line 70: | ||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/ |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4f/Button_template_alt2.png", |
||
"speedTip": " |
"speedTip": "Start SN", |
||
"tagOpen": "{{ |
"tagOpen": "{{SN|''", |
||
"tagClose": "", |
"tagClose": "", |
||
"sampleText": ""}; |
"sampleText": ""}; |
||
Line 78: | Line 78: | ||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/97/Template_button.png", |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/97/Template_button.png", |
||
"speedTip": " |
"speedTip": "{{Lepidoptera}}", |
||
"tagOpen": "| |
"tagOpen": "{{Lepidoptera\n|familia=\n|subfamilia=\n|genus=", |
||
"tagClose": "", |
"tagClose": "\n|species=\n|auth=\n}}", |
||
"sampleText": ""}; |
"sampleText": ""}; |
||
Line 86: | Line 86: | ||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/ |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/8e/Button_number_1.png", |
||
"speedTip": "Tribus line", |
"speedTip": "Tribus line", |
||
"tagOpen": "|tribus=", |
"tagOpen": "|tribus=", |
Revision as of 06:06, 4 September 2009
//<nowiki>
function addButton(){
return;
}
if(mwCustomEditButtons){
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/99/Button_reflink_advanced_2.png",
"speedTip": "Gallery-to-category redirect",
"tagOpen": "#REDIRECT [[:Category:",
"tagClose": "]]",
"sampleText": "{{subst:PAGENAME}}"};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/2/26/Button_plainlinks.png",
"speedTip": "Plainlinks",
"tagOpen": "<span class=\"plainlinks\">",
"tagClose": "</span>",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"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[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png",
"speedTip": "Support",
"tagOpen": "* {{Support}} ",
"tagClose": " ~~~~",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png",
"speedTip": "Oppose",
"tagOpen": "* {{Oppose}} ",
"tagClose": " ~~~~",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4e/Button_neutre.png",
"speedTip": "Neutral",
"tagOpen": "* {{Neutral}} ",
"tagClose": " ~~~~",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a0/Button_keep.png",
"speedTip": "Keep",
"tagOpen": "* {{vk}} ",
"tagClose": " ~~~~",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/13/Button_delete.png",
"speedTip": "Delete",
"tagOpen": "* {{vd}} ",
"tagClose": " ~~~~",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4f/Button_template_alt2.png",
"speedTip": "VN",
"tagOpen": "{{VN|en=",
"tagClose": "}}",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4f/Button_template_alt2.png",
"speedTip": "Start SN",
"tagOpen": "{{SN|''",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/9/97/Template_button.png",
"speedTip": "{{Lepidoptera}}",
"tagOpen": "{{Lepidoptera\n|familia=\n|subfamilia=\n|genus=",
"tagClose": "\n|species=\n|auth=\n}}",
"sampleText": ""};
//http://upload.wikimedia.org/wikipedia/commons/b/b8/Button_number_0.png
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/8e/Button_number_1.png",
"speedTip": "Tribus line",
"tagOpen": "|tribus=",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/bd/Button_number_2.png",
"speedTip": "Genus line",
"tagOpen": "|genus=",
"tagClose": "",
"sampleText": ""};
mwCustomEditButtons[mwCustomEditButtons.length] = {
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/8/80/Button_number_3.png",
"speedTip": "Species line",
"tagOpen": "|species=",
"tagClose": "",
"sampleText": ""};
}
//</nowiki>