Template:Manualbutton

From The Jolly Contrarian
Revision as of 15:51, 9 April 2020 by Amwelladmin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
$('#wpTextbox1').wikiEditor('addToToolbar', { 
	section: 'advanced',
	group: 'format',
	tools: {
		"template": {
			label: 'MCAE2016',
			type: 'button',
			icon: 'https://jollycontrarian.com/images/7/7d/{{{1}}}{{{2}}}.png',
			action: {
				type: 'encapsulate',
				options: {
					pre: "{{Manual|{{{{1}}}|{{{2}}}|",
					post: "|Paragraph||medium}}"
				}
			}
		}
	}
});