Корисник:Anja98/extratoolbarbuttons.js — разлика између измена
Садржај обрисан Садржај додат
м Нова страница: if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) { $j(document).ready( function() { $j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', { 'secti... |
мНема описа измене |
||
Ред 1:
/*<nowiki><pre>*/
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
Линија 5 ⟶ 6:
'group': 'format',
'tools': {
'
label: 'Шаблон',
type: 'button',
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 27 ⟶ 28:
'group': 'format',
'tools': {
'
label: '
type: 'button',
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 49 ⟶ 50:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 71 ⟶ 72:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 93 ⟶ 94:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "]]"
}
}
Линија 115 ⟶ 116:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/0/
action: {
type: 'encapsulate',
options: {
pre: "
post: "]]"
}
}
Линија 137 ⟶ 138:
'group': 'format',
'tools': {
'
label: '
type: 'button',
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 159 ⟶ 160:
'group': 'format',
'tools': {
'
label: 'Подвучен текст',
type: 'button',
Линија 181 ⟶ 182:
'group': 'format',
'tools': {
'
label: 'Прецртан текст',
type: 'button',
Линија 203 ⟶ 204:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/b/b6/Button_category_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': '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 $j.fn.wikiEditor != 'undefined' ) {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
'section': 'advanced',
'group': 'format',
'tools': {
'Advanced image': {
label: 'Слика 250 пиксела',
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_advanced_image.png',
Линија 225 ⟶ 270:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "
}
}
Линија 247 ⟶ 292:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "
}
}
Линија 269 ⟶ 314:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "
}
}
Линија 285 ⟶ 330:
} );
}
if ( typeof $j != 'undefined' && typeof $j.fn.wikiEditor != 'undefined' ); {
$j(document).ready( function() {
$j( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
Линија 291 ⟶ 336:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "
}
}
Линија 313 ⟶ 358:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "}}"
}
Линија 335 ⟶ 380:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: ""
}
Линија 357 ⟶ 402:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "}}"
}
}
Линија 379 ⟶ 424:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "[[Слика:Face-grin.svg|20п]]",
pre: "{{Гласање-крај|за = 0|уздржаних = 0|против = 0|слободно_поље = Чланак се не брише.}}~~",▼
post: "
}
}
Линија 401 ⟶ 446:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 423 ⟶ 468:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
▲ pre: "{{Гласање-крај|за = 0|уздржаних = 0|против = 0|слободно_поље = Чланак се не брише.}}~~~~",
post: "
}
}
Линија 445 ⟶ 490:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "{{
post: "}}"
}
Линија 467 ⟶ 512:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 489 ⟶ 534:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 511 ⟶ 556:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 533 ⟶ 578:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 555 ⟶ 600:
'group': 'format',
'tools': {
'
label: '
type: 'button',
icon: 'http://upload.wikimedia.org/wikipedia/commons/
action: {
type: 'encapsulate',
options: {
pre: "
post: "
}
}
Линија 571 ⟶ 616:
} );
}
/*</nowiki></pre>*/
|