Корисник:Maduixa/emotetoolbar.js

С Википедије, слободне енциклопедије

Напомена: Пошто објавите измене, можда ћете морати да обришете кеш меморију прегледача како бисте их видели. Google Chrome, Firefox, Microsoft Edge и Safari: Држите ⇧ Shift и кликните дугме Reload на траци са алаткама. За детаље и упутства о другим прегледачима, погледајте en:Wikipedia:Bypass your cache.

//Са вики на енглеском језику (User:NerdyScienceDude/Scripts/emotetoolbar.js)
if ( typeof $j != 'undefined' && typeof $.fn.wikiEditor != 'undefined' ) {
	$( document ).ready( function() {
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'sections': {
				'greenemoticons': {
					'type': 'toolbar',
					'label': 'Зелени емотикони'
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'groups': {
				'greenemoticons': {
					'label': 'Зелени емотикони'
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'angry': {
					label: 'Љут',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/4/42/Smiley_green_alien_unhappy.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-љут}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'furious': {
					label: 'Бесан',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/d/d9/Smiley_green_alien_huf.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-бес}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'sick': {
					label: 'Болестан',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/1/14/Smiley_green_alien_sick.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-болестан}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'grrr': {
					label: 'Гррр',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/0/09/Smiley_green_alien_GRRR.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-гррр}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'bubble gum': {
					label: 'Жвака',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/d/df/Smiley_green_alien_bubble.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-жвака}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'in love': {
					label: 'Заљубљен',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/8/81/Smiley_green_alien_happy_love.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-заљубљен}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'worried': {
					label: 'Забринут',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/b/b3/Smiley_green_alien_worried.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-забринут}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'lipsealed': {
					label: 'Заливен',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/8/8c/Smiley_green_alien_lipsealed.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-заливен}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'confused': {
					label: 'Збуњен',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/9/94/Smiley_green_alien_wow.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-збун}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'evil': {
					label: 'Злица',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/8/86/Smiley_green_alien_naah.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-злица}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'cry': {
					label: 'Куку',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/c/c4/Smiley_green_alien_cry.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-куку}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'lol': {
					label: 'Лол',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/4/44/Smiley_green_alien_lol.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-лол}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'droling': {
					label: 'Мљац',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/e/e4/Smiley_green_alien_droling.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-мљац}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'wink': {
					label: 'Миг',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/2/22/Smiley_green_alien_wink.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-миг}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'blush': {
					label: 'Стиди се',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/8/8e/Smiley_green_alien_red.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-поцрвенео}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'disapointed': {
					label: 'Разочаран',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/9/91/Smiley_green_alien_disapointed.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-разочаран}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'smile': {
					label: 'Смех',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/3/39/Smiley_green_alien.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-смех}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'sleep': {
					label: 'Спава',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/b/b8/Smiley_green_alien_sleepy.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-спава}}"
						}
					}
				}
			}
		} );
		$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'sad': {
					label: 'Тужан',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/9/91/Smiley_green_alien_sad.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-тужан}}"
						}
					}
				}
			}
		} );
$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'terrified': {
					label: 'Ужаснут',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/d/d7/Smiley_green_alien_whaaa.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-ужаснут}}"
						}
					}
				}
			}
		} );$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'chaos': {
					label: 'хаос',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/0/0d/Smiley_green_alien_KO.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-хаос}}"
						}
					}
				}
			}
		} );$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'hmmm': {
					label: 'Хммм',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/a/a2/Smiley_green_alien_mmm.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-хммм}}"
						}
					}
				}
			}
		} );$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'deep sleep': {
					label: 'Хрче',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/5/53/Smiley_green_alien_deep_sleep.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-хрче}}"
						}
					}
				}
			}
		} );$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'cool': {
					label: 'Шмекер',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/0/01/Smiley_green_alien_cool.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-шмекер}}"
						}
					}
				}
			}
		} );$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'big eyes': {
					label: 'Шмрц',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/9/9f/Smiley_green_alien_big_eyes.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-шмрц}}"
						}
					}
				}
			}
		} );$( '#wpTextbox1' ).wikiEditor( 'addToToolbar', {
			'section': 'greenemoticons',
			'group': 'greenemoticons',
			'tools': {
				'why': {
					label: 'Што бре',
					type: 'button',
					icon: 'http://upload.wikimedia.org/wikipedia/commons/f/f6/Smiley_green_alien_why.svg',
					action: {
						type: 'encapsulate',
						options: {
							pre: "{{зелени-што бре}}"
						}
					}
				}
			}
		} );
	} );
}

//[[Категорија:Корисничке скрипте]]