Suradnik:Edgar Allan Poe/vector.js
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',
'group': 'format',
'tools': {
'Template': {
label: 'Šablon',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/2/20/Toolbaricon_transclude.png',
action: {
type: 'encapsulate',
options: {
pre: "{{",
post: "}}"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Blockquote': {
label: 'Navodnici',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/4/4e/Toolbaricon_quote.png',
action: {
type: 'encapsulate',
options: {
pre: "„",
post: "“"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'External link': {
label: 'Spoljašnja veza',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/5/53/Button_ext_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': 'format',
'tools': {
'Internal link': {
label: 'Unutrašnja veza',
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': 'format',
'tools': {
'Link': {
label: 'Veza',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/0/0c/Button_Link_DifferentName.png',
action: {
type: 'encapsulate',
options: {
pre: "[[|",
post: "]]"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Underline': {
label: 'Podvučen tekst',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/f/fd/Button_underline.png',
action: {
type: 'encapsulate',
options: {
pre: "<u>",
post: "</u>"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Strikethrough': {
label: 'Precrtan tekst',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/c/c9/Button_strike.png',
action: {
type: 'encapsulate',
options: {
pre: "<s>",
post: "</s>"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Category': {
label: 'Категорија',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/b6/Button_category_link.png',
action: {
type: 'encapsulate',
options: {
pre: "[[Kategorija:",
post: "]]"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'DEFAULTSORT': {
label: 'DEFAULTSORT',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/b6/Vjazyce-button.png',
action: {
type: 'encapsulate',
options: {
pre: "{{DEFAULTSORT:",
post: "}}"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Advanced image': {
label: 'Slika 250px',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_advanced_image.png',
action: {
type: 'encapsulate',
options: {
pre: "[[File:",
post: "|thumb|right|250px|Opis]]"
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Smile': {
label: 'Smeje se',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/f/f5/Button_smiley_face_grin.png',
action: {
type: 'encapsulate',
options: {
pre: "[[File:Face-grin.svg|20px]]",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
$(document).ready( function() {
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Winking': {
label: 'Namiguje',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/7/74/Button_oeil.png',
action: {
type: 'encapsulate',
options: {
pre: "[[File:Face-wink.svg|20px]]",
post: ""
}
}
}
}
} );
} );
}
if ( typeof $j != '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: ""
}
}
}
}
} );
} );
}
/*</nowiki></pre>*/