MediaWiki:Common.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 401: Line 401:
type: 'encapsulate',
type: 'encapsulate',
options: {
options: {
pre: "{{manual|MI|2002|",
pre: "{{isdamanual|",
post: "|Section||short}}"
post: "}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
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',
icon: 'https://jollycontrarian.com/images/8/83/DCE05.png',
action: {
type: 'encapsulate',
options: {
pre: "{{manual|DCE|2005|",
post: "|Section||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MCAE1995',
type: 'button',
icon: 'https://jollycontrarian.com/images/b/b3/MCAE1995.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MCAE|1995|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MCAE2016',
type: 'button',
icon: 'https://jollycontrarian.com/images/7/7d/MCAE2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MCAE|2016|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MCAN1994',
type: 'button',
icon: 'https://jollycontrarian.com/images/4/44/MCAN1994.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MCAN|1994|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MCAN2016',
type: 'button',
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MCAN|2016|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MSG2010',
type: 'button',
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MSG|2010|",
post: "|Clause||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'MRG2000',
type: 'button',
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|MRG|2000|",
post: "|Paragraph||short}}"
}
}
}
}
});
$('#wpTextbox1').wikiEditor('addToToolbar', {
section: 'manual',
group: 'tags',
tools: {
"template": {
label: 'DCD2014',
type: 'button',
icon: 'https://jollycontrarian.com/images/2/26/MCAN2016.png',
action: {
type: 'encapsulate',
options: {
pre: "{{Manual|DCD|2014|",
post: "|Section||medium}}"
}
}
}
}