MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 167: Line 167:
pre: "{{csaprov|",
pre: "{{csaprov|",
post: "}}"
post: "}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
"template": {
label: 'csaanat 95 UK',
type: 'button',
icon: 'http://amwellclear.co.uk/w/images/6/69/CSA.png',
action: {
type: 'encapsulate',
options: {
pre: "{{csaanat|",
post: "|1995}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
"template": {
label: 'csaanat VM UK',
type: 'button',
icon: 'http://amwellclear.co.uk/w/images/6/69/CSA.png',
action: {
type: 'encapsulate',
options: {
pre: "{{csaanat|",
post: "|2016}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
"template": {
label: 'csaanat VM NY',
type: 'button',
icon: 'http://amwellclear.co.uk/w/images/6/69/CSA.png',
action: {
type: 'encapsulate',
options: {
pre: "{{csaanat|",
post: "|2016ny}}"
}
}
}
}