User:Micki/extratoolbarbuttons.js: Difference between revisions
Content deleted Content added
m finished |
test |
||
Line 1: | Line 1: | ||
/*<nowiki><pre>*/ |
/*<nowiki><pre>*/ |
||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
||
$j(document).ready( function() { |
$j( document ).ready( function() { |
||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
' |
'sections': { |
||
' |
'dugmići': { |
||
' |
'type': 'toolbar', |
||
' |
'label': 'Dugmići' |
||
label: 'Precrtan tekst', |
|||
type: 'button', |
|||
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/45/Gnome-format-text-strikethrough.svg/25px-Gnome-format-text-strikethrough.svg.png', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: "<s>", |
|||
post: "</s>" |
|||
} |
|||
} |
|||
} |
} |
||
} |
} |
||
} ); |
} ); |
||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
' |
'groups': { |
||
' |
'dugmići': { |
||
' |
'label': 'Dugmići' |
||
label: 'Šablon', |
|||
type: 'button', |
|||
icon: 'http://upload.wikimedia.org/wikipedia/commons/d/dd/Vector_toolbar_template_button.png', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: "{{", |
|||
post: "}}" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} ); |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
'section': 'advanced', |
|||
'group': 'format', |
|||
'tools': { |
|||
'External link': { |
|||
label: 'Spoljašnja veza', |
|||
type: 'button', |
|||
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/4/49/Gnome-go-previous.svg/25px-Gnome-go-previous.svg.png', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: "[", |
|||
post: "]" |
|||
} |
|||
} |
|||
} |
} |
||
} |
} |
||
} ); |
} ); |
||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
'Internal link': { |
'Internal link': { |
||
label: ' |
label: 'Poveznica', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons |
icon: 'http://upload.wikimedia.org/wikipedia/commons/9/97/Button_int_link.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
Line 74: | Line 39: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'DEFAULTSORT': { |
||
label: ' |
label: 'Umetni sliku', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/3/3c/Icons-mini-image_new.gif', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "[[|", |
pre: "[[Slika:|minijatura|desno|250px|", |
||
post: "]]" |
post: "]]" |
||
} |
} |
||
Line 92: | Line 62: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Internal link': { |
||
label: ' |
label: 'Za', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/ba/Button_conserver.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{Za}}", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 110: | Line 85: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Internal link': { |
||
label: ' |
label: 'Protiv', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/f/fc/Button_supp.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{Protiv}}", |
||
post: " |
post: "" |
||
} |
} |
||
} |
} |
||
Line 128: | Line 108: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Internal link': { |
||
label: ' |
label: 'Komentar', |
||
type: 'button', |
|||
icon: 'http://upload.wikimedia.org/wikipedia/commons/thumb/5/5f/Image-x-generic.svg/25px-Image-x-generic.svg.png', |
|||
action: { |
|||
type: 'encapsulate', |
|||
options: { |
|||
pre: "[[{{subst:ns:6}}:", |
|||
post: "|thumb|right|250px|Opis]]" |
|||
} |
|||
} |
|||
} |
|||
} |
|||
} ); |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
'section': 'advanced', |
|||
'group': 'format', |
|||
'tools': { |
|||
'Spam': { |
|||
label: 'Spam', |
|||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/2/2e/Button_pict_comment.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "{{komentar}}", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 164: | Line 131: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Internal link': { |
||
label: ' |
label: 'Smajli', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons |
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_smiley_face_smile.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "[[Slika:Face-smile.svg|20px]]", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 182: | Line 154: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Internal link': { |
||
label: ' |
label: 'Smajli', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/f/f5/Button_smiley_face_grin.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "[[ |
pre: "[[Slika:Face-grin.svg|20px]]", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 200: | Line 177: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Internal link': { |
||
label: ' |
label: 'Smajli', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/b0/Button_blocage.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "[[ |
pre: "[[Slika:Face-sad.svg|20px]]", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 218: | Line 200: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Internal link': { |
||
label: ' |
label: 'Smajli', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/74/Button_oeil.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "[[Slika:Face-wink.svg|20px]]", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 236: | Line 223: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Internal link': { |
||
label: ' |
label: '<ref>', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "<ref>", |
||
post: " |
post: "</ref>" |
||
} |
} |
||
} |
} |
||
Line 254: | Line 246: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Link': { |
||
label: ' |
label: 'Reference footer', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/a/a0/Button_references_alt.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ |
pre: "{{reflist|2}}", |
||
post: "" |
post: "" |
||
} |
} |
||
Line 272: | Line 269: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Underline': { |
||
label: ' |
label: 'Noinclude', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/c/ce/Button_no_include.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "<noinclude>", |
||
post: "" |
post: "</noinclude>" |
||
} |
} |
||
} |
} |
||
Line 290: | Line 292: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Underline': { |
||
label: ' |
label: 'Includeonly', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/Button_include.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "<includeonly>", |
||
post: "" |
post: "</includeonly>" |
||
} |
} |
||
} |
} |
||
Line 311: | Line 318: | ||
} |
} |
||
//Emoticons |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
||
$j( |
$j(document).ready( function() { |
||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
' |
'section': 'dugmići', |
||
'group': 'dugmići', |
|||
'type': 'toolbar', |
|||
'label': 'Emoticons' |
|||
} |
|||
} |
|||
} ); |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
'section': 'emoticons', |
|||
'groups': { |
|||
'emoticons': { |
|||
'label': 'Emoticons' |
|||
} |
|||
} |
|||
} ); |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
|||
'section': 'emoticons', |
|||
'group': 'emoticons', |
|||
'tools': { |
'tools': { |
||
' |
'Strikethrough': { |
||
label: ' |
label: 'Dot', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/a/aa/Button_dot1.PNG', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "•", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 347: | Line 338: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Strikethrough': { |
||
label: ' |
label: 'Crta', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/71/TableCell.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "|", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 364: | Line 361: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Category': { |
||
label: ' |
label: 'Wprojekti', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/12/Button_find.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
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}}", |
|||
pre: "[[{{subst:ns:6}}:Face-plain.svg|20px]]" |
|||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 381: | Line 384: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'DEFAULTSORT': { |
||
label: ' |
label: 'Premjestiti na Commons', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/6/6c/Button_commons.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{Premjestiti na Commons}}", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 398: | Line 407: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Smile': { |
||
label: ' |
label: 'Srediti slike', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/2/22/Button_radio_activite.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: "{{ Srediti slike \n|slika1 = \n|slika2 = \n|slika3 = \n|slika4 = \n|slika5 = \n|slika6 = \n|slika7 = \n|slika8 = \n|slika9 = \n|datum = {{subst:#time: d. xg Y.|+1hours+14days}} \n|potpis = --~~~~ \n}}", |
|||
pre: "[[{{subst:ns:6}}:Face-tongue.svg|20px]]" |
|||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 415: | Line 430: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Advanced image': { |
||
label: ' |
label: 'Slika za brisanje', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons |
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/Button_bombe.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:SBris}}", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 432: | Line 453: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Winking': { |
||
label: ' |
label: 'Neodgovarajući sadržaj', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/2/2e/Button_broom.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:NSBris}}", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 449: | Line 476: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Signature': { |
||
label: ' |
label: 'Bris', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/5/50/Button_tidyman.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{bris|", |
||
post: "}}" |
|||
} |
} |
||
} |
} |
||
Line 466: | Line 499: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Smile': { |
||
label: ' |
label: 'Copyright?', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/72/Button_copy_vio_plagio.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:CBris|", |
||
post: "}}" |
|||
} |
} |
||
} |
} |
||
Line 483: | Line 522: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'DEFAULTSORT': { |
||
label: ' |
label: 'Nedostaje izvor', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1a/Button_fact.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{Nedostaje izvor}}", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 500: | Line 545: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'DEFAULTSORT': { |
||
label: ' |
label: 'Nepotpisan', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/6/6d/Button_unsigned.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:nepotpisan|", |
||
post: "}}" |
|||
} |
} |
||
} |
} |
||
Line 517: | Line 568: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'DEFAULTSORT': { |
||
label: ' |
label: 'Prikaži', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/bb/Seealso.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:NS-prikaži1}}--~~~~", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 534: | Line 591: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'DEFAULTSORT': { |
||
label: ' |
label: 'Test', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/76/Testwarn1.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:NS-test1}}--~~~~", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 551: | Line 614: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'DEFAULTSORT': { |
||
label: ' |
label: 'Suradnik i članak', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/4/41/Button_userandarticle.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:suradnik i članak}}--~~~~", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 568: | Line 637: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'DEFAULTSORT': { |
||
label: ' |
label: 'NS-osnove1', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1e/Button_ns-basics.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:NS-osnove1|", |
||
post: "}}--~~~~" |
|||
} |
} |
||
} |
} |
||
Line 585: | Line 660: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'DEFAULTSORT': { |
||
label: ' |
label: 'Popis stanovništva 2011.', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/8/89/Exquisite-khelpcenter.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{subst:Popis stanovništva 2011.}}--~~~~", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 602: | Line 683: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Signature': { |
||
label: ' |
label: 'Arhiv - početak', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/3/32/BTA-1.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{ArhivPočetak}}", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 619: | Line 706: | ||
} |
} |
||
} ); |
} ); |
||
} ); |
|||
} |
|||
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { |
|||
$j(document).ready( function() { |
|||
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { |
||
'section': ' |
'section': 'dugmići', |
||
'group': ' |
'group': 'dugmići', |
||
'tools': { |
'tools': { |
||
' |
'Signature': { |
||
label: ' |
label: 'Arhiv - kraj', |
||
type: 'button', |
type: 'button', |
||
icon: 'http://upload.wikimedia.org/wikipedia/commons/ |
icon: 'http://upload.wikimedia.org/wikipedia/commons/5/5b/BTA-2.png', |
||
action: { |
action: { |
||
type: 'encapsulate', |
type: 'encapsulate', |
||
options: { |
options: { |
||
pre: " |
pre: "{{ArhivKraj}}", |
||
post: "" |
|||
} |
} |
||
} |
} |
||
Line 638: | Line 731: | ||
} ); |
} ); |
||
} |
} |
||
/*</nowiki></pre>*/ |
/*</nowiki></pre>*/ |
Revision as of 08:39, 14 October 2011
/*<nowiki><pre>*/
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j( document ).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'sections': {
'dugmići': {
'type': 'toolbar',
'label': 'Dugmići'
}
}
} );
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'groups': {
'dugmići': {
'label': 'Dugmići'
}
}
} );
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'tools': {
'DEFAULTSORT': {
label: 'Premjestiti na Commons',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/6/6c/Button_commons.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Premjestiti na Commons}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'tools': {
'Smile': {
label: 'Srediti slike',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/2/22/Button_radio_activite.png',
action: {
type: 'encapsulate',
options: {
pre: "{{ Srediti slike \n|slika1 = \n|slika2 = \n|slika3 = \n|slika4 = \n|slika5 = \n|slika6 = \n|slika7 = \n|slika8 = \n|slika9 = \n|datum = {{subst:#time: d. xg Y.|+1hours+14days}} \n|potpis = --~~~~ \n}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'tools': {
'Advanced image': {
label: 'Slika za brisanje',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/79/Button_bombe.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:SBris}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'tools': {
'Winking': {
label: 'Neodgovarajući sadržaj',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/2/2e/Button_broom.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:NSBris}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'tools': {
'Smile': {
label: 'Copyright?',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/72/Button_copy_vio_plagio.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:CBris|",
post: "}}"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'tools': {
'DEFAULTSORT': {
label: 'Test',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/76/Testwarn1.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:NS-test1}}--~~~~",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'tools': {
'DEFAULTSORT': {
label: 'NS-osnove1',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1e/Button_ns-basics.png',
action: {
type: 'encapsulate',
options: {
pre: "{{subst:NS-osnove1|",
post: "}}--~~~~"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'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: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'tools': {
'Signature': {
label: 'Arhiv - početak',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/3/32/BTA-1.png',
action: {
type: 'encapsulate',
options: {
pre: "{{ArhivPočetak}}",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'dugmići',
'group': 'dugmići',
'tools': {
'Signature': {
label: 'Arhiv - kraj',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/5/5b/BTA-2.png',
action: {
type: 'encapsulate',
options: {
pre: "{{ArhivKraj}}",
post: ""
}
}
}
}
} );
} );
}
/*</nowiki></pre>*/