User:QwerpQwertus/toolbar.js

if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) { $(document).ready( function {		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'template': { label: 'New Article Template', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/0/04/Article.svg', action: { type: 'encapsulate', options: { pre: " ", post: "" }					}				}			}		} );		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'math': { label: 'Math', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1c/Toolbaricon_math.png', action: { type: 'encapsulate', options: { pre: "$$", post: "$$" }					}				}			}		} );		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'blockquote': { label: 'Blockquote', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/4/4e/Toolbaricon_quote.png', action: { type: 'encapsulate', options: { pre: " ", post: " " }					}				}			}		} );		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'transclude': { label: 'Transclude', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/commons/2/20/Toolbaricon_transclude.png', action: { type: 'encapsulate', options: { pre: "" }					}				}			}		} );	} ); }