Строка 13: |
Строка 13: |
| group: 'format', | | group: 'format', |
| tools: { | | tools: { |
| + | "underline": { |
| + | label: 'Подчёркивание', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/f/fd/Button_underline.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "<u>", |
| + | post: "</u>" |
| + | } |
| + | } |
| + | }, |
| + | "double_underline": { |
| + | label: 'Двойное подчёркивание', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/4/45/Button_double.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "{{Стиль С-Двойное подчёркивание|", |
| + | post: "}}" |
| + | } |
| + | } |
| + | }, |
| + | "strike_out": { |
| + | label: 'Зачёркнуто', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/c/c9/Button_strike.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "<s>", |
| + | post: "</s>" |
| + | } |
| + | } |
| + | }, |
| + | "justify-center": { |
| + | label: 'Выравнивание по центру', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/5/5f/Button_center.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "<center>", |
| + | post: "</center>" |
| + | } |
| + | } |
| + | }, |
| + | "justify-right": { |
| + | label: 'Выравнивание справа', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/a/a5/Button_align_right.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "{{Стиль А-Текст справа|", |
| + | post: "}}" |
| + | } |
| + | } |
| + | }, |
| + | "no_indent": { |
| + | label: 'Первая строка без отступа', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/2/29/Button_justify.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "{{Стиль А-Текст без отступа|", |
| + | post: "}}" |
| + | } |
| + | } |
| + | }, |
| + | "columns": { |
| + | label: 'Разбить текст на колонки', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/0/04/Button_multicol.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "{{Колонки начинаются||ширина=|размер=}}", |
| + | post: "{{Колонки завершаются}}" |
| + | } |
| + | } |
| + | }, |
| "category": { | | "category": { |
| label: 'Категория', | | label: 'Категория', |
Строка 20: |
Строка 104: |
| type: 'encapsulate', | | type: 'encapsulate', |
| options: { | | options: { |
− | pre: "[[Категория:", | + | pre: "[[Категория: ", |
| post: "]]" | | post: "]]" |
| + | } |
| + | } |
| + | }, |
| + | "nbsp": { |
| + | label: 'Неразрывный пробел', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/6/64/Button_nbsp_bold.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: " ", |
| + | post: "" |
| + | } |
| + | } |
| + | }, |
| + | "dash": { |
| + | label: 'Тире', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/c/cd/Button_mdash.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "–", |
| + | post: "" |
| + | } |
| + | } |
| + | }, |
| + | "vertical_space": { |
| + | label: 'Вертикальный отступ перед абзацем, по умолчанию 1em', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/7/71/TableCell.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "{{Вертикальный отступ|}}", |
| + | post: "" |
| + | } |
| + | } |
| + | }, |
| + | "small_capitals": { |
| + | label: 'Капитель (маленькие заглавные буквы)', |
| + | type: 'button', |
| + | icon: '//upload.wikimedia.org/wikipedia/commons/8/89/Button_bigger.png', |
| + | action: { |
| + | type: 'encapsulate', |
| + | options: { |
| + | pre: "{{Стиль С-Капитель|", |
| + | post: "}}" |
| } | | } |
| } | | } |
Строка 46: |
Строка 178: |
| tools: { | | tools: { |
| templatesA: { | | templatesA: { |
− | label: 'Стили абзаца', | + | label: 'Абзац', |
| type: 'select', | | type: 'select', |
| list: { | | list: { |
Строка 61: |
Строка 193: |
| 'Style-A-podzagolovok': {label: 'Подзаголовок', action: {type: 'encapsulate', | | 'Style-A-podzagolovok': {label: 'Подзаголовок', action: {type: 'encapsulate', |
| options: {pre: '{{Стиль А-Подзаголовок|', post: '}}'} } }, | | options: {pre: '{{Стиль А-Подзаголовок|', post: '}}'} } }, |
| + | 'Style-A-poyasnenie-k-zagolovku': {label: 'Пояснение к заголовку', action: {type: 'encapsulate', |
| + | options: {pre: '{{Стиль А-Пояснение к заголовку|', post: '}}'} } }, |
| 'Style-A-podpis': {label: 'Подпись', action: {type: 'encapsulate', | | 'Style-A-podpis': {label: 'Подпись', action: {type: 'encapsulate', |
| options: {pre: '{{Стиль А-Подпись|', post: '}}'} } }, | | options: {pre: '{{Стиль А-Подпись|', post: '}}'} } }, |
| 'Style-A-prim-per': {label: 'Прим. переводчика', action: {type: 'encapsulate', | | 'Style-A-prim-per': {label: 'Прим. переводчика', action: {type: 'encapsulate', |
| options: {pre: '{{Стиль А-Прим. пер.|', post: '}}'} } }, | | options: {pre: '{{Стиль А-Прим. пер.|', post: '}}'} } }, |
− | 'Style-A-tekst-v-centre': {label: 'Текст в центре', action: {type: 'encapsulate', | + | 'Style-A-stih': {label: 'Стих', action: {type: 'encapsulate', |
− | options: {pre: '{{Стиль А-Текст в центре|', post: '}}'} } }, | + | options: {pre: '{{Стиль А-Стих| стих=', post: '}}'} } }, |
| + | 'Str-aside': {label: 'Стр сбоку', action: {type: 'encapsulate', |
| + | options: {pre: '{{Стр сбоку|', post: '}}'} } }, |
| 'Style-A-citata': {label: 'Цитата', action: {type: 'encapsulate', | | 'Style-A-citata': {label: 'Цитата', action: {type: 'encapsulate', |
− | options: {pre: '{{Стиль А-Цитата|', post: '}}'} } }, | + | options: {pre: '{{Стиль А-Цитата|текст=', post: '}}'} } }, |
− | 'Style-A-citata-data': {label: 'Цитата, данные отправителя', action: {type: 'encapsulate',
| |
− | options: {pre: '{{Стиль А-Цитата, данные отправителя|', post: '}}'} } },
| |
− | 'Style-A-citata-podpis': {label: 'Цитата, подпись', action: {type: 'encapsulate',
| |
− | options: {pre: '{{Стиль А-Цитата, подпись|', post: '}}'} } },
| |
| 'Style-A-epigraf': {label: 'Эпиграф', action: {type: 'encapsulate', | | 'Style-A-epigraf': {label: 'Эпиграф', action: {type: 'encapsulate', |
| options: {pre: '{{Стиль А-Эпиграф|', post: '}}'} } } | | options: {pre: '{{Стиль А-Эпиграф|', post: '}}'} } } |
Строка 78: |
Строка 210: |
| }, | | }, |
| templatesS: { | | templatesS: { |
− | label: 'Стили символа', | + | label: 'Символ', |
| type: 'select', | | type: 'select', |
| list: { | | list: { |
− | 'Style-S-vopros': {label: 'Вопрос', action: {type: 'encapsulate', | + | 'Style-S-kratko-BTS': {label: 'Кратко из БТС', action: {type: 'encapsulate', |
− | options: {pre: '{{Вопрос|', post: '||~~ ~~}}'} } }, | + | options: {pre: '{{Кратко из БТС|текст=', post: '|статья=}}'} } }, |
| + | 'Style-S-vsplyv-podskazka': {label: 'Всплыв. подсказка', action: {type: 'encapsulate', |
| + | options: {pre: '{{вп|', post: '|}}'} } }, |
| 'Style-S-vydelenie': {label: 'Выделение', action: {type: 'encapsulate', | | 'Style-S-vydelenie': {label: 'Выделение', action: {type: 'encapsulate', |
| options: {pre: '{{Выделение|', post: '}}'} } }, | | options: {pre: '{{Выделение|', post: '}}'} } }, |
− | 'Style-S-speaker': {label: 'Говорящий в диалоге', action: {type: 'encapsulate', | + | 'Style-S-zakladka': {label: 'Закладка', action: {type: 'encapsulate', |
− | options: {pre: '{{Стиль С-Говорящий в диалоге|', post: '}}'} } }, | + | options: {pre: '{{Закладка|', post: '}}'} } }, |
− | 'Style-S-dopolnenie': {label: 'Дополнение', action: {type: 'encapsulate',
| |
− | options: {pre: '{{Дополнение|', post: '||~~ ~~}}'} } },
| |
| 'Style-S-simvol': {label: 'Символ', action: {type: 'encapsulate', | | 'Style-S-simvol': {label: 'Символ', action: {type: 'encapsulate', |
| options: {pre: '{{Стиль С-Символ|', post: '}}'} } }, | | options: {pre: '{{Стиль С-Символ|', post: '}}'} } }, |
− | 'Style-S-td-ispravlenie': {label: 'ТД-исправление', action: {type: 'encapsulate', | + | 'Style-S-lost': {label: 'Утеряно', action: {type: 'encapsulate', |
− | options: {pre: '{{ТД-исправление|текст=', post: '|ред1=|анг1=|анг3=|инфо=|участник=~~ ~~}}'} } }, | + | options: {pre: '{{Стиль С-Утеряно|', post: '}}'} } }, |
| 'Style-S-prim-red': {label: 'Прим. редактора', action: {type: 'encapsulate', | | 'Style-S-prim-red': {label: 'Прим. редактора', action: {type: 'encapsulate', |
| options: {pre: '{{Стиль С-Прим. ред.|', post: '}}'} } }, | | options: {pre: '{{Стиль С-Прим. ред.|', post: '}}'} } }, |
− | 'Style-S-prim-red-orig': {label: 'Прим. редактора (оригинал)', action: {type: 'encapsulate', | + | 'Snoska-metka': {label: 'Метка сноски', action: {type: 'encapsulate', |
− | options: {pre: '{{Стиль С-Прим. ред. (оригинал)|', post: '}}'} } }, | + | options: {pre: '{{Метка сноски|', post: '}}'} } }, |
− | 'Style-S-yaz-in': {label: 'Язык иностранный', action: {type: 'encapsulate', | + | 'Snoska-vozvrat': {label: 'Возврат к метке', action: {type: 'encapsulate', |
− | options: {pre: '{{Стиль С-Язык иностранный|', post: '}}'} } } | + | options: {pre: '{{Возврат к метке|', post: '}}'} } }, |
| + | 'Snoska-tekst': {label: 'Сноски автора', action: {type: 'encapsulate', |
| + | options: {pre: '{{Сноски автора}}\n\n{{Сноски автора завершены}}'} } }, |
| + | 'Style-S-ivrit': {label: 'Язык иврит', action: {type: 'encapsulate', |
| + | options: {pre: '{{Стиль С-Иврит|', post: '}}'} } } |
| + | } |
| + | }, |
| + | templatesLinks: { |
| + | label: 'Ссылки', |
| + | type: 'select', |
| + | list: { |
| + | 'Link-5YT': {label: '5 лет теософии, стр', action: {type: 'encapsulate', |
| + | options: {pre: '{{5ЛТ-стр||', post: '}}'} } }, |
| + | 'Link-SB': {label: 'Альбомы ЕПБ, стр', action: {type: 'encapsulate', |
| + | options: {pre: '{{ЕПБ Альбомы-стр|т=|с=|текст=', post: '}}'} } }, |
| + | 'Link-Bible': {label: 'Библия, гл., стих', action: {type: 'encapsulate', |
| + | options: {pre: '{{Библия||', post: '}}'} } }, |
| + | 'Link-Bhagavad-gita': {label: 'Бхагавад-гита', action: {type: 'encapsulate', |
| + | options: {pre: '{{БГ||текст=', post: '}}'} } }, |
| + | 'Link-Platon': {label: 'Платон', action: {type: 'encapsulate', |
| + | options: {pre: '{{Платон|Произведение|Строка|', post: '}}'} } }, |
| + | 'Link-SD': {label: 'ТД, глава', action: {type: 'encapsulate', |
| + | options: {pre: '{{ТД|т=|ч=|ст=|шл=|отд=|гл=|текст=', post: '}}'} } }, |
| + | 'Link-SD-page': {label: 'ТД, стр', action: {type: 'encapsulate', |
| + | options: {pre: '{{ТД-стр|т=|с=|текст=', post: '}}'} } } |
| + | } |
| + | }, |
| + | templatesHPB: { |
| + | label: 'ЕПБ', |
| + | type: 'select', |
| + | list: { |
| + | 'SB-added': {label: 'ЛА. Дописано ЕПБ', action: {type: 'encapsulate', |
| + | options: {pre: '{{Стиль С-ЛА ЕПБ. Дописано ЕПБ|', post: '|center}}'} } }, |
| + | 'SB-underlined': {label: 'ЛА. Подчёркнуто ЕПБ', action: {type: 'encapsulate', |
| + | options: {pre: '{{Стиль С-ЛА ЕПБ. Подчёркнуто ЕПБ|', post: '}}'} } }, |
| + | 'SB-striked-out': {label: 'ЛА. Зачёркнуто ЕПБ', action: {type: 'encapsulate', |
| + | options: {pre: '{{Стиль С-ЛА ЕПБ. Зачёркнуто ЕПБ|', post: '}}'} } }, |
| + | 'SB-editors-note': {label: 'ЛА. Пометка редактора', action: {type: 'encapsulate', |
| + | options: {pre: '{{Стиль С-ЛА ЕПБ. Пометка редактора|', post: '}}'} } }, |
| + | 'SB-recovered': {label: 'ЛА. Восстановлено', action: {type: 'encapsulate', |
| + | options: {pre: '{{Стиль А-ЛА ЕПБ. Восстановлено}}', post: '{{Закрыть div}}'} } }, |
| + | 'SB-footer-ref': {label: 'ЛА. Подвал, сноски', action: {type: 'encapsulate', |
| + | options: {pre: '{{ЕПБ-ЛА-подвал-сноски}}'} } }, |
| + | 'SB-footer-sources': {label: 'ЛА. Подвал, источники', action: {type: 'encapsulate', |
| + | options: {pre: '{{ЕПБ-ЛА-подвал-источники}}'} } }, |
| + | 'SD-from-CTD': {label: 'ТД. Из БТС', action: {type: 'encapsulate', |
| + | options: {pre: '{{ТД из БТС|', post: '||тип=личность}}'} } }, |
| + | 'SD-source': {label: 'ТД. Источник', action: {type: 'encapsulate', |
| + | options: {pre: '{{ТД источник|текст=', post: '|произведение=|имя=|уточнение=|объём=|вес=|вид=подсказка|тип=личность|стиль=описание}}'} } }, |
| + | 'SD-footnotes': {label: 'ТД. Сноски', action: {type: 'encapsulate', |
| + | options: {pre: '{{Сноски ТД 21в}}'} } }, |
| + | 'SD-about-expression': {label: 'ТД. О выражении', action: {type: 'encapsulate', |
| + | options: {pre: '{{О выражении ТД|', post: '|}}'} } }, |
| + | 'SD-addition': {label: 'ТД. Дополнение', action: {type: 'encapsulate', |
| + | options: {pre: '{{Дополнение ТД|', post: '|т_с_якорь|тип=исправление|пояснение=}}'} } }, |
| + | 'SD-addition-header': {label: 'ТД. Новое дополн.', action: {type: 'encapsulate', |
| + | options: {pre: '{{ЕПБ-ТД шапка дополнения}}\n\n{{Исходный текст ТД начинается|т_с_якорь|тип=|пояснение=}}\n', post: '\n{{Исходный текст закончен}}\n\n{{Оглавление дополнения}}'} } } |
| } | | } |
| } | | } |