Korisnik:ProtLink/extratoolbarbuttons.js
Prijeđi na navigaciju
Prijeđi na pretragu
Napomena: Nakon objave možda ćete trebate očistiti međuspremnik (keš) svog preglednika kako biste vidjeli promjene.
- Firefox / Safari: držite Shift i pritisnite Reload, ili pritisnite bilo Ctrl-F5 ili Ctrl-R (Command-R na Macu)
- Google Chrome: pritisnite Ctrl-Shift-R (Command-Shift-R na Macu)
- Internet Explorer / Edge: držite Ctrl i kliknite Refresh, ili pritisnite Ctrl-F5
- Opera: pritisnite Ctrl-F5.
/*<nowiki><pre>*/
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Test': {
label: 'Test',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/e/e1/Button_problematic.png',
action: {
type: 'encapsulate',
options: {
pre: "{{WV2}} -- ~~~~",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Unsigned post': {
label: 'Komentar bez potpisa',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/3/38/Button_plume.png',
action: {
type: 'encapsulate',
options: {
pre: "{{BP|",
post: "}}"
}
}
}
}
} );
} );
}
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Welcome': {
label: 'Dobrodošlica',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/e/e3/Button_bienvenido.png',
action: {
type: 'encapsulate',
options: {
pre: "{{dd}}",
post: "-- ~~~~"
}
}
}
}
} );
} );
}
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Guidelines for images': {
label: 'Novi korisnik',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/bd/Btn_plus.png',
action: {
type: 'encapsulate',
options: {
pre: "{{sznk}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Signature': {
label: 'Potpis',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/Insert-signature.png',
action: {
type: 'encapsulate',
options: {
pre: "-- ~~~~",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Beginner': {
label: 'Početnički članak',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/12/Toolbaricon_bold_P.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Početnik|||2014}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $ != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'ASCII': {
label: 'ASCII članak',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1e/Toolbaricon_bold_A.png',
action: {
type: 'encapsulate',
options: {
pre: "{{ascii}}",
post: ""
}
}
}
}
} );
} );
}
/*</nowiki></pre>*/