MediaWiki:Common.js: Unterschied zwischen den Versionen

Aus DDR-FahrradWiki
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…“
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…“
(kein Unterschied)

Version vom 30. Dezember 2011, 18:26 Uhr

/* Das folgende JavaScript wird für alle Benutzer geladen. */
/* Quote button */

var button = {
        "imageFile": "QUOTE IMAGE URL HERE",  //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 */