User:Rocket000/customEditButtons.js: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
//<nowiki> |
//<nowiki> |
||
if(mwCustomEditButtons) { |
if(mwCustomEditButtons) { |
||
mwCustomEditButtons. |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1e/Button_font_color.png", |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/1e/Button_font_color.png", |
||
"speedTip": "Colored text", |
"speedTip": "Colored text", |
||
"tagOpen": "<span style=\"color:COLOR\">", |
"tagOpen": "<span style=\"color:COLOR\">", |
||
"tagClose": "</span>", |
"tagClose": "</span>", |
||
"sampleText": "" |
"sampleText": ""}; |
||
)}; |
|||
mwCustomEditButtons. |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png", |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png", |
||
"speedTip": "Support", |
"speedTip": "Support", |
||
"tagOpen": "* {{Support}} ", |
"tagOpen": "* {{Support}} ", |
||
"tagClose": " ~~~~", |
"tagClose": " ~~~~", |
||
"sampleText": "" |
"sampleText": ""}; |
||
)}; |
|||
mwCustomEditButtons. |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png", |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png", |
||
"speedTip": "Oppose", |
"speedTip": "Oppose", |
||
"tagOpen": "* {{Oppose}} ", |
"tagOpen": "* {{Oppose}} ", |
||
"tagClose": " ~~~~", |
"tagClose": " ~~~~", |
||
"sampleText": "" |
"sampleText": ""}; |
||
)}; |
|||
mwCustomEditButtons. |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4e/Button_neutre.png", |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4e/Button_neutre.png", |
||
"speedTip": "Neutral", |
"speedTip": "Neutral", |
||
"tagOpen": "* {{Neutral}} ", |
"tagOpen": "* {{Neutral}} ", |
||
"tagClose": " ~~~~", |
"tagClose": " ~~~~", |
||
"sampleText": "" |
"sampleText": ""}; |
||
)}; |
|||
mwCustomEditButtons. |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a0/Button_keep.png", |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/a/a0/Button_keep.png", |
||
"speedTip": "Keep", |
"speedTip": "Keep", |
||
"tagOpen": "* {{vk}} ", |
"tagOpen": "* {{vk}} ", |
||
"tagClose": " ~~~~", |
"tagClose": " ~~~~", |
||
"sampleText": "" |
"sampleText": ""}; |
||
)}; |
|||
mwCustomEditButtons. |
mwCustomEditButtons[mwCustomEditButtons.length] = { |
||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/13/Button_delete.png", |
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/1/13/Button_delete.png",, |
||
"speedTip": "Delete", |
"speedTip": "Delete", |
||
"tagOpen": "* {{vd}} ", |
"tagOpen": "* {{vd}} ", |
||
"tagClose": " ~~~~", |
"tagClose": " ~~~~", |
||
"sampleText": "" |
"sampleText": ""}; |
||
}); |
|||
mwCustomEditButtons[mwCustomEditButtons.length] = { |
|||
"imageFile": "http://upload.wikimedia.org/wikipedia/commons/4/4f/Button_template_alt2.png",, |
|||
"speedTip": "VN", |
|||
"tagOpen": "{{VN|en=", |
|||
"tagClose": "}}", |
|||
"sampleText": ""}; |
|||
} |
} |
||
//</nowiki> |
//</nowiki> |
Revision as of 00:07, 5 May 2009
//<nowiki>
if(mwCustomEditButtons) {
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": ""};
}
//</nowiki>