MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 311: Line 311:
pre: "{{isdaanat|CLAUSE}}",
pre: "{{isdaanat|CLAUSE}}",
post: ""
post: ""
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'advanced',
group: 'format',
tools: {
"template": {
label: 'top trumps',
type: 'button',
icon: 'http://amwellclear.co.uk/w/images/7/7d/Tag2.png',
action: {
type: 'encapsulate',
options: {
pre: "{{fwmdtt|nickname=",
post: "|title=|documentation=|booklets=|customisability=|asset_classes=|amendability=|transferability=|tenor=|leverage=|collateral=|longevity=|frightometer=}}"
}
}
}
}