MediaWiki:Common.js: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
(17 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 184: Line 184:
'Style-P-Subtitle': {label: 'Subtitle', action: {type: 'encapsulate',
'Style-P-Subtitle': {label: 'Subtitle', action: {type: 'encapsulate',
options: {pre: '{{Style P-Subtitle|', post: '}}'} } },
options: {pre: '{{Style P-Subtitle|', post: '}}'} } },
'Style-P-Editors-note': {label: 'Editors note', action: {type: 'encapsulate',
options: {pre: '{{Style P-Editors note|', post: '}}'} } },
'Style-P-Epigraph': {label: 'Epigraph', action: {type: 'encapsulate',
'Style-P-Epigraph': {label: 'Epigraph', action: {type: 'encapsulate',
options: {pre: '{{Style P-Epigraph|', post: '||}}'} } },
options: {pre: '{{Style P-Epigraph|', post: '||}}'} } },
Line 192: Line 194:
'Style-P-Page-aside': {label: 'Page aside', action: {type: 'encapsulate',
'Style-P-Page-aside': {label: 'Page aside', action: {type: 'encapsulate',
options: {pre: '{{Page aside|', post: '}}'} } },
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: '}}'} } },
options: {pre: '{{Style P-Poem|poem=', post: '}}'} } },
Line 203: Line 207:
},
},
templatesS: {
templatesS: {
label: 'Symbol styles',
label: 'Symbol',
type: 'select',
type: 'select',
list: {
list: {
'CTD-info': {label: 'CTD info', action: {type: 'encapsulate',
options: {pre: '{{From CTD|text=', post: '|article=|view=}}'} } },
'CTD-name': {label: 'CTD name', action: {type: 'encapsulate',
options: {pre: '{{CTD show name|', post: '|mode=full FL}}'} } },
'Bookmark': {label: 'Bookmark', action: {type: 'encapsulate',
options: {pre: '{{Bookmark|', post: '}}'} } },
'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: '}}'} } },
Line 211: Line 221:
options: {pre: '{{Style S-Lost|', post: '}}'} } },
options: {pre: '{{Style S-Lost|', post: '}}'} } },
'Footnote-Mark': {label: 'Footnote mark', action: {type: 'encapsulate',
'Footnote-Mark': {label: 'Footnote mark', action: {type: 'encapsulate',
options: {pre: '{{Footnote mark|', post: '}}'} } },
options: {pre: '{{Footnote mark|', post: '|}}'} } },
'Footnote-Return': {label: 'Footnote return', action: {type: 'encapsulate',
'Footnote-Return': {label: 'Footnote return', action: {type: 'encapsulate',
options: {pre: '{{Footnote return|', post: '}}'} } },
options: {pre: '{{Footnote return|', post: '}}'} } },
'Footnote-Text': {label: 'Footnote text', action: {type: 'encapsulate',
'Footnote-Text': {label: 'Footnote text', action: {type: 'encapsulate',
options: {pre: '{{Footnotes start}}\n\n{{Footnotes end}}'} } }
options: {pre: '{{Footnotes start}}\n{{Footnote return|}}', post: '\n{{Footnotes end}}'} } }
}
}
},
},
Line 225: Line 235:
options: {pre: '{{SD-correction|text=', post: '|edition1=|note=}}'} } },
options: {pre: '{{SD-correction|text=', post: '|edition1=|note=}}'} } },
'HPB-CW-comment': {label: 'CW. Comment', action: {type: 'encapsulate',
'HPB-CW-comment': {label: 'CW. Comment', action: {type: 'encapsulate',
options: {pre: '{{HPB-CW-comment|', post: '}}'} } },
options: {pre: '{{HPB-CW-comment|view=center|', post: '}}'} } },
'HPB-CW-separator': {label: 'CW. Separator', action: {type: 'encapsulate',
'HPB-CW-separator': {label: 'CW. Separator', action: {type: 'encapsulate',
options: {pre: '{{HPB-CW-separator', post: '}}'} } },
options: {pre: '{{HPB-CW-separator', post: '}}'} } },
Line 248: Line 258:
'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: '}}'} } },
'IU-page': {label: 'IU. Page', action: {type: 'encapsulate',
options: {pre: '{{IU-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: '}}'} } },
't-ru': {label: 'Russian library', action: {type: 'encapsulate',
options: {pre: '[[:t-ru-lib:|', post: ']]'} } }
}
}
}
}