MediaWiki:Common.js: Difference between revisions

m
+templatesLinks
(+Style-P-Page-aside-continues)
m (+templatesLinks)
Line 175: Line 175:
tools: {
tools: {
templatesP: {
templatesP: {
label: 'Paragraph styles',
label: 'Paragraph',
type: 'select',
type: 'select',
list: {
list: {
Line 205: Line 205:
},
},
templatesS: {
templatesS: {
label: 'Symbol styles',
label: 'Symbol',
type: 'select',
type: 'select',
list: {
list: {
Line 250: Line 250:
'Style-S-HPB-SB-Continues-on': {label: 'HPB SB. Continues on', action: {type: 'encapsulate',
'Style-S-HPB-SB-Continues-on': {label: 'HPB SB. Continues on', action: {type: 'encapsulate',
options: {pre: '{{Style S-HPB SB. Continues on|1-', post: '}}'} } }
options: {pre: '{{Style S-HPB SB. Continues on|1-', post: '}}'} } }
}
},
templatesLinks: {
label: 'Links',
type: 'select',
list: {
'BCW-page': {label: 'BCW page', action: {type: 'encapsulate',
options: {pre: '{{BCW-page|v=|p=|text=', post: '}}'} } },
'SB-page': {label: 'SB page', action: {type: 'encapsulate',
options: {pre: '{{SB-page|v=|p=|text=', post: '}}'} } },
'SD-page': {label: 'SD page', action: {type: 'encapsulate',
options: {pre: '{{SD-page|v=|p=|ed=|text=', post: '}}'} } }
}
}
}
}