MediaWiki:Common.js: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
imported>Moosmutzel Die Seite wurde neu angelegt: „→Das folgende JavaScript wird für alle Benutzer geladen.: →Quote button: var button = { "imageFile": "QUOTE IMAGE URL HERE", //image to be show…“ |
>Moosmutzel Keine Bearbeitungszusammenfassung |
||
| Zeile 3: | Zeile 3: | ||
var button = { | var button = { | ||
"imageFile": " | "imageFile": "http://img530.imageshack.us/img530/6280/quotevq8.png", //image to be shown on the button (may be a full URL too), 22x22 pixels | ||
"speedTip": "Quote", //text shown in a tooltip when hovering the mouse over the button | "speedTip": "Quote", //text shown in a tooltip when hovering the mouse over the button | ||
"tagOpen": "<div style='background-color:#F5F5F5'>", //the text to use to mark the beginning of the block | "tagOpen": "<div style='background-color:#F5F5F5'>", //the text to use to mark the beginning of the block | ||
Version vom 30. Dezember 2011, 18:43 Uhr
/* Das folgende JavaScript wird für alle Benutzer geladen. */
/* Quote button */
var button = {
"imageFile": "http://img530.imageshack.us/img530/6280/quotevq8.png", //image to be shown on the button (may be a full URL too), 22x22 pixels
"speedTip": "Quote", //text shown in a tooltip when hovering the mouse over the button
"tagOpen": "<div style='background-color:#F5F5F5'>", //the text to use to mark the beginning of the block
"tagClose": "</div>", //the text to use to mark the end of the block (if any)
"sampleText": "Insert quote here" //the sample text to place inside the block
};
mwCustomEditButtons.push(button);
/* End of Quote button */