83,229
edits
Amwelladmin (talk | contribs) (Amwelladmin created the page Template:Manualbutton using a non-default content model "JavaScript") |
Amwelladmin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
$('#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}}" | |||
} | |||
} | |||
} | |||
} | |||
}); |