MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 177: Line 177:
label: 'euaprov',
label: 'euaprov',
type: 'button',
type: 'button',
icon: 'https://jollycontrarian.com/images/5/50/Isd.png',
icon: 'https://jollycontrarian.com/images/5/50/eua.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
Line 402: Line 402:
options: {
options: {
pre: "{{manual|MI|2002|",
pre: "{{manual|MI|2002|",
post: "|Section||medium}}"
post: "|Section||short}}"
}
}
}
}
Line 413: Line 413:
tools: {
tools: {
"template": {
"template": {
label: 'MI1992',
label: 'MI2002',
type: 'button',
icon: 'https://jollycontrarian.com/images/c/c2/MI2002.png',
action: {
type: 'encapsulate',
options: {
pre: "{{manual|MI|2002|",
post: "|Section||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'DCE05',
type: 'button',
type: 'button',
icon: 'https://jollycontrarian.com/images/8/83/MI1992.png',
icon: 'https://jollycontrarian.com/images/8/83/DCE05.png',
action: {
action: {
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{manual|MI|1992|",
pre: "{{manual|DCE|2005|",
post: "|Section||medium}}"
post: "|Section||short}}"
}
}
}
}
Line 438: Line 456:
options: {
options: {
pre: "{{Manual|MCAE|1995|",
pre: "{{Manual|MCAE|1995|",
post: "|Paragraph||medium}}"
post: "|Paragraph||short}}"
}
}
}
}
Line 456: Line 474:
options: {
options: {
pre: "{{Manual|MCAE|2016|",
pre: "{{Manual|MCAE|2016|",
post: "|Paragraph||medium}}"
post: "|Paragraph||short}}"
}
}
}
}
Line 474: Line 492:
options: {
options: {
pre: "{{Manual|MCAN|1994|",
pre: "{{Manual|MCAN|1994|",
post: "|Paragraph||medium}}"
post: "|Paragraph||short}}"
}
}
}
}
Line 492: Line 510:
options: {
options: {
pre: "{{Manual|MCAN|2016|",
pre: "{{Manual|MCAN|2016|",
post: "|Paragraph||medium}}"
post: "|Paragraph||short}}"
}
}
}
}
Line 510: Line 528:
options: {
options: {
pre: "{{Manual|MSG|2010|",
pre: "{{Manual|MSG|2010|",
post: "|Clause||medium}}"
post: "|Clause||short}}"
}
}
}
}
Line 528: Line 546:
options: {
options: {
pre: "{{Manual|MRG|2000|",
pre: "{{Manual|MRG|2000|",
post: "|Paragraph||medium}}"
post: "|Paragraph||short}}"
}
}
}
}
Line 546: Line 564:
options: {
options: {
pre: "{{Manual|DEQ|2002|",
pre: "{{Manual|DEQ|2002|",
post: "|Section||medium}}"
post: "|Section||short}}"
}
}
}
}