Jump to content

MediaWiki:Common.js: Difference between revisions

m
no edit summary
(+ tag s)
mNo edit summary
 
(16 intermediate revisions by the same user not shown)
Line 175: Line 175:
tools: {
tools: {
templatesP: {
templatesP: {
label: 'Paragraph styles',
label: 'Paragraph',
type: 'select',
type: 'select',
list: {
list: {
Line 190: Line 190:
'Style-P-Page': {label: 'Page', action: {type: 'encapsulate',
'Style-P-Page': {label: 'Page', action: {type: 'encapsulate',
options: {pre: '{{Page|', post: '|}}'} } },
options: {pre: '{{Page|', post: '|}}'} } },
'Style-P-Page-aside': {label: 'Page aside', action: {type: 'encapsulate',
options: {pre: '{{Page aside|', post: '}}'} } },
'Style-P-Page-aside-continues': {label: 'Page aside continues', action: {type: 'encapsulate',
options: {pre: '{{Page aside continues|', post: '}}'} } },
'Style-P-Poem': {label: 'Poem', action: {type: 'encapsulate',
'Style-P-Poem': {label: 'Poem', action: {type: 'encapsulate',
options: {pre: '{{Style P-Poem|poem=', post: '|signature=}}'} } },
options: {pre: '{{Style P-Poem|poem=', post: '}}'} } },
'Style-P-Signature': {label: 'Signature', action: {type: 'encapsulate',
'Style-P-Signature': {label: 'Signature', action: {type: 'encapsulate',
options: {pre: '{{Style P-Signature|', post: '}}'} } },
options: {pre: '{{Style P-Signature|', post: '}}'} } },
'Style-P-Signature-caps': {label: 'Signature in capitals', action: {type: 'encapsulate',
'Style-P-Signature-caps': {label: 'Signature in capitals', action: {type: 'encapsulate',
options: {pre: '{{Style P-Signature in capitals|', post: '}}'} } },
options: {pre: '{{Style P-Signature in capitals|', post: '}}'} } },
'HPB-SB-footer-footnotes': {label: 'HPB SB. footnotes', action: {type: 'encapsulate',
'Close-DIV': {label: 'Close div', action: {type: 'encapsulate',
options: {pre: '{{HPB-SB-footer-footnotes}}', post: ''} } }
options: {pre: '{{Close div}}'} } }
}
}
},
},
templatesS: {
templatesS: {
label: 'Symbol styles',
label: 'Symbol',
type: 'select',
type: 'select',
list: {
list: {
'SD-correction': {label: 'Correction in  The Secret Doctrine', action: {type: 'encapsulate',
options: {pre: '{{SD-correction|text=', post: '|edition1=|note=}}'} } },
'Style-S-Hebrew': {label: 'Text in Hebrew', action: {type: 'encapsulate',
'Style-S-Hebrew': {label: 'Text in Hebrew', action: {type: 'encapsulate',
options: {pre: '{{Style S-Hebrew|', post: '}}'} } },
options: {pre: '{{Style S-Hebrew|', post: '}}'} } },
'Style-S-Lost': {label: 'Lost fragment', action: {type: 'encapsulate',
options: {pre: '{{Style S-Lost|', post: '}}'} } },
'Footnote-Mark': {label: 'Footnote mark', action: {type: 'encapsulate',
options: {pre: '{{Footnote mark|', post: '|}}'} } },
'Footnote-Return': {label: 'Footnote return', action: {type: 'encapsulate',
options: {pre: '{{Footnote return|', post: '}}'} } },
'Footnote-Text': {label: 'Footnote text', action: {type: 'encapsulate',
options: {pre: '{{Footnotes start}}\n{{Footnote return|}}', post: '\n{{Footnotes end}}'} } }
}
},
templatesHPB: {
label: 'HPB',
type: 'select',
list: {
'UI-page': {label: 'UI. Page', action: {type: 'encapsulate',
options: {pre: '{{IU-page|v=1|p=', post: '|title=}}'} } },
'SD-correction': {label: 'SD. Correction', action: {type: 'encapsulate',
options: {pre: '{{SD-correction|text=', post: '|edition1=|note=}}'} } },
'HPB-CW-comment': {label: 'CW. Comment', action: {type: 'encapsulate',
options: {pre: '{{HPB-CW-comment|', post: '}}'} } },
'HPB-CW-separator': {label: 'CW. Separator', action: {type: 'encapsulate',
options: {pre: '{{HPB-CW-separator', post: '}}'} } },
'Style-S-HPB-SB-HPB-note': {label: 'HPB SB. HPB note', action: {type: 'encapsulate',
'Style-S-HPB-SB-HPB-note': {label: 'HPB SB. HPB note', action: {type: 'encapsulate',
options: {pre: '{{Style S-HPB SB. HPB note|', post: '|center}}'} } },
options: {pre: '{{Style S-HPB SB. HPB note|', post: '|center}}'} } },
Line 220: Line 244:
'Style-S-HPB-SB-Editors-note': {label: 'HPB SB. Editors note', action: {type: 'encapsulate',
'Style-S-HPB-SB-Editors-note': {label: 'HPB SB. Editors note', action: {type: 'encapsulate',
options: {pre: '{{Style S-HPB SB. Editors note|', post: '|center}}'} } },
options: {pre: '{{Style S-HPB SB. Editors note|', post: '|center}}'} } },
'Style-S-Restored': {label: 'HPB SB. Restored', action: {type: 'encapsulate',
options: {pre: '{{Style S-HPB SB. Restored}}', post: '{{Close div}}'} } },
'HPB-SB-footer-footnotes': {label: 'HPB SB. Footnotes', action: {type: 'encapsulate',
options: {pre: '{{HPB-SB-footer-footnotes}}', post: ''} } },
'HPB-SB-footer-sources': {label: 'HPB SB. Sources', action: {type: 'encapsulate',
options: {pre: '{{HPB-SB-footer-sources}}\n<gallery widths=200px heights=200px>\n', post: 'file.pdf|page=9|Description\n</gallery>'} } },
'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: '}}'} } }
'Style-S-Lost': {label: 'HPB SB. Lost', action: {type: 'encapsulate',
}
options: {pre: '{{Style S-Lost|', 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: '}}'} } }
}
}
}
}