Suradnik:Ejnal/extratoolbarbuttons.js
Izgled
Napomena: Nakon objave možda ćete trebati očistiti međuspremnik svog preglednika kako biste vidjeli promjene.
- Firefox / Safari: držite Shift i pritisnite Reload, ili pritisnite bilo Ctrl-F5 ili Ctrl-R (⌘-R na Macu)
- Google Chrome: pritisnite Ctrl-Shift-R (⌘-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 $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'groups': {
'Dodatni alati': {
'label': 'Dodatni alati'
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Internal link': {
label: 'Poveznica',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/9/97/Button_int_link.png',
action: {
type: 'encapsulate',
options: {
pre: "[[",
post: "]]"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'DEFAULTSORT': {
label: 'Umetni sliku',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/3/3c/Icons-mini-image_new.gif',
action: {
type: 'encapsulate',
options: {
pre: "[[Slika:|minijatura|desno|250px|",
post: "]]"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Internal link': {
label: 'Za',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Za}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Internal link': {
label: 'Protiv',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Protiv}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Internal link': {
label: 'Komentar',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/2/2e/Button_pict_comment.png',
action: {
type: 'encapsulate',
options: {
pre: "{{komentar}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Internal link': {
label: 'Smajli',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_smiley_face_smile.png',
action: {
type: 'encapsulate',
options: {
pre: "[[Slika:Face-smile.svg|20px]]",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Internal link': {
label: 'Smajli',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/f/f5/Button_smiley_face_grin.png',
action: {
type: 'encapsulate',
options: {
pre: "[[Slika:Face-grin.svg|20px]]",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Internal link': {
label: 'Smajli',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/b0/Button_blocage.png',
action: {
type: 'encapsulate',
options: {
pre: "[[Slika:Face-sad.svg|20px]]",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Internal link': {
label: 'Smajli',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/74/Button_oeil.png',
action: {
type: 'encapsulate',
options: {
pre: "[[Slika:Face-wink.svg|20px]]",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Internal link': {
label: '<ref>',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png',
action: {
type: 'encapsulate',
options: {
pre: "<ref>",
post: "</ref>"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Link': {
label: 'Reference footer',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/a/a0/Button_references_alt.png',
action: {
type: 'encapsulate',
options: {
pre: "{{reflist|2}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Underline': {
label: 'Noinclude',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/c/ce/Button_no_include.png',
action: {
type: 'encapsulate',
options: {
pre: "<noinclude>",
post: "</noinclude>"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Underline': {
label: 'Includeonly',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/Button_include.png',
action: {
type: 'encapsulate',
options: {
pre: "<includeonly>",
post: "</includeonly>"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Strikethrough': {
label: 'Dot',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/a/aa/Button_dot1.PNG',
action: {
type: 'encapsulate',
options: {
pre: "•",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Strikethrough': {
label: 'Crta',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/71/TableCell.png',
action: {
type: 'encapsulate',
options: {
pre: "|",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Category': {
label: 'Wprojekti',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/12/Button_find.png',
action: {
type: 'encapsulate',
options: {
pre: "{{ WProjekti \n|commons = \n|commonshr = \n|commonscat = \n|commonscathr = \n|wikivrste = \n|wikivrstehr = \n|wikizvor = \n|wikizvor_autor = \n|wječnik = \n|wikiknjige = \n|wikicitat = \n}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'Signature': {
label: 'Bris',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/5/50/Button_tidyman.png',
action: {
type: 'encapsulate',
options: {
pre: "{{bris|",
post: "}}"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'DEFAULTSORT': {
label: 'Nedostaje izvor',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1a/Button_fact.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Nedostaje izvor}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'DEFAULTSORT': {
label: 'Nepotpisan',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/6/6d/Button_unsigned.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:nepotpisan|",
post: "}}"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'DEFAULTSORT': {
label: 'Prikaži',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/bb/Seealso.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:NS-prikaži1}}--~~~~",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'DEFAULTSORT': {
label: 'Suradnik i članak',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/4/41/Button_userandarticle.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:suradnik i članak}}--~~~~",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'Dodatni alati',
'tools': {
'DEFAULTSORT': {
label: 'Popis stanovništva 2011.',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/8/89/Exquisite-khelpcenter.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:Popis stanovništva 2011.}}--~~~~",
post: ""
}
}
}
}
} );
} );
}
/*</nowiki></pre>*/