User:Genewikiplus/SWL editor.js

// // // SWL editor // //for use with the semantic wiki link (SWL) template //based on ... importScript('User:NerdyScienceDude/Scripts/extratoolbarbuttons.js') if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) { $(document).ready( function {		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'section': 'advanced', 'group': 'format', 'tools': { 'transclude': { label: 'Add Semantic Wiki Link', type: 'button', icon: 'http://upload.wikimedia.org/wikipedia/en/6/67/Swl_green_edit_button.png', action: { type: 'encapsulate', options: { pre: "" }					}				}			}		} );	} ); } //