Přeskočit na obsah

Wikipedista:NightElfik/vector.js

Z Wikipedie, otevřené encyklopedie

Poznámka: Po uložení musíte vyprázdnit mezipaměť vašeho prohlížeče, jinak změny neuvidíte.

// --------- custom edit toolbar ---------
if (mwCustomEditButtons) {
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/9/91/Button_cite_web.png",
		"speedTip" : "Citace elektronické monografie (webu)",
		"tagOpen" : "<ref>\x7b\x7bCitace elektronické monografie\n | příjmení = \n | jméno = \n | odkaz na autora = \n | titul = \n | url = \n | datum vydání = \n | datum aktualizace = \n | datum přístupu = "
				+ (y = new Date().getFullYear())
				+ "-"
				+ (m = new Date().getMonth() + 1)
				+ "-"
				+ (d = new Date().getDate())
				+ "\n | vydavatel = \n | jazyk = \n | druh nosiče = \n}}</ref>",
		"tagClose" : "",
		"sampleText" : ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/e/ef/Button_cite_book.png",
		"speedTip" : "Citace monografie",
		"tagOpen" : "<ref>\x7b\x7bCitace monografie\n | příjmení = \n | jméno = \n | odkaz na autora = \n | titul = \n | vydavatel = \n | místo = \n | rok = \n | isbn =  \n | kapitola = \n | strany = \n | počet stran = \n | jazyk = \n}}</ref>",
		"tagClose" : "",
		"sampleText" : ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/4/49/Button_cite_journal.png",
		"speedTip" : "Citace periodika (citace novin, časopisu)",
		"tagOpen" : "\x7b\x7bCitace periodika\n | příjmení = \n | jméno = \n | odkaz na autora = \n | spoluautoři = \n | titul = \n | periodikum = \n | odkaz na periodikum = \n | rok = \n | měsíc = \n | ročník = \n | číslo = \n | strany = \n | url = \n | issn = \n | jazyk = \n }}",
		"tagClose" : "",
		"sampleText" : ""
	};

	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://commons.wikimedia.org/w/thumb.php?f=Nuvola%20apps%20important%20recycle.svg&width=23px",
		"speedTip" : "Smazat",
		"tagOpen" : "\x7b\x7bSmazat|experimenty}}",
		"tagClose" : "",
		"sampleText" : ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://commons.wikimedia.org/w/thumb.php?f=Red%20copyright.svg&width=23px",
		"speedTip" : "Copyvio",
		"tagOpen" : "\x7b\x7bCopyvio|zdroj=",
		"tagClose" : "}}",
		"sampleText" : ""
	};

	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/2/2a/Button_Subheadline.gif",
		"speedTip" : "Hlavní článek",
		"tagOpen" : "\x7b\x7bHlavní článek}}",
		"tagClose" : "",
		"sampleText" : ""
	};
	
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/en/f/fd/Button_blockquote.png",
		"speedTip" : "Subpahýl",
		"tagOpen" : "\x7b\x7bsubst:subpahýl}}",
		"tagClose" : "",
		"sampleText" : ""
	};

	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/6/6c/Button_commons.png",
		"speedTip" : "Commonscat",
		"tagOpen" : "\x7b\x7bCommonscat|",
		"tagClose" : "}}",
		"sampleText" : ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/7/79/Button_reflink.png",
		"speedTip" : "Ref name",
		"tagOpen" : "<ref name=\"\">",
		"tagClose" : "",
		"sampleText" : ""
	};
	
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/1/1b/Button_hide_wiki_tag.png",
		"speedTip" : "Sktytý text",
		"tagOpen" : "<!--",
		"tagClose" : "-->",
		"sampleText" : ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/4/41/Button_hr_halfwidth.png",
		"speedTip" : "Pomlčka",
		"tagOpen" : "–",
		"tagClose" : "",
		"sampleText" : ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/0/05/Button_Anf%C3%BChrung.png",
		"speedTip" : "Uvozovky",
		"tagOpen" : "\„",
		"tagClose" : "\“",
		"sampleText" : ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/6/64/Button_nbsp_bold.png",
		"speedTip" : "Pevná mezera",
		"tagOpen" : "&nbsp;",
		"tagClose" : "",
		"sampleText" : ""
	};
	
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/d/d2/Button_source.png",
		"speedTip" : "Systém odkazů",
		"tagOpen" : "==Odkazy==\n\n===Literatura===\n\n===Související články===\n\n=== Reference ===\n<references/>\n\n===Externí odkazy===\n",
		"tagClose" : "",
		"sampleText" : ""
	};
	
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/b/b0/Button_category02.png",
		"speedTip" : "Kategorie",
		"tagOpen" : "[[Kategorie:",
		"tagClose" : "]]",
		"sampleText" : ""
	};

	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/3/3f/Button_en.png",
		"speedTip" : "en iw",
		"tagOpen" : "[[en:",
		"tagClose" : "]]",
		"sampleText" : ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/8/84/Warn3.png",
		"speedTip" : "Pracuje se",
		"tagOpen" : "\x7b\x7bPracuje se}}",
		"tagClose" : "",
		"sampleText" : ""
	};

	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/4/47/Button_arabic.png",
		"speedTip" : "Cizojazyčně",
		"tagOpen" : "\x7b\x7bCizojazyčně|",
		"tagClose" : "|}}",
		"sampleText" : ""
	};
	mwCustomEditButtons[mwCustomEditButtons.length] = {
		"imageFile" : "http://upload.wikimedia.org/wikipedia/commons/1/1c/Button_advanced_image.png",
		"speedTip" : "Obrázek",
		"tagOpen" : "[[",
		"tagClose" : "|thumb|]]",
		"sampleText" : ""
	};
};