Строка 34: |
Строка 34: |
| pre: "{{Стиль С-Двойное подчёркивание|", | | pre: "{{Стиль С-Двойное подчёркивание|", |
| post: "}}" | | 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>" |
| } | | } |
| } | | } |
Строка 128: |
Строка 140: |
| type: 'encapsulate', | | type: 'encapsulate', |
| options: { | | options: { |
− | pre: "{{Вертикальный отступ|", | + | pre: "{{Вертикальный отступ|}}", |
− | post: "}}" | + | post: "" |
| } | | } |
| } | | } |
Строка 166: |
Строка 178: |
| tools: { | | tools: { |
| templatesA: { | | templatesA: { |
− | label: 'Стили абзаца', | + | label: 'Абзац', |
| type: 'select', | | type: 'select', |
| list: { | | list: { |
Строка 181: |
Строка 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', | | 'Style-A-stih': {label: 'Стих', action: {type: 'encapsulate', |
− | options: {pre: '{{Стиль А-Стих| стих=', post: '| подпись=}}'} } }, | + | 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: '}}'} } } |
Строка 200: |
Строка 210: |
| }, | | }, |
| templatesS: { | | templatesS: { |
− | label: 'Стили символа', | + | label: 'Символ', |
| type: 'select', | | type: 'select', |
| list: { | | list: { |
| 'Style-S-kratko-BTS': {label: 'Кратко из БТС', action: {type: 'encapsulate', | | 'Style-S-kratko-BTS': {label: 'Кратко из БТС', action: {type: 'encapsulate', |
| options: {pre: '{{Кратко из БТС|текст=', post: '|статья=}}'} } }, | | options: {pre: '{{Кратко из БТС|текст=', post: '|статья=}}'} } }, |
− | 'Style-S-vopros': {label: 'Вопрос', action: {type: 'encapsulate', | + | 'Style-S-vsplyv-podskazka': {label: 'Всплыв. подсказка', action: {type: 'encapsulate', |
− | options: {pre: '{{Вопрос|', post: '||~~ ~~}}'} } }, | + | 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-capitel': {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-page': {label: 'Страница', action: {type: 'encapsulate', | + | 'Style-S-lost': {label: 'Утеряно', action: {type: 'encapsulate', |
− | options: {pre: '{{Стр|', post: '|}}'} } }, | + | options: {pre: '{{Стиль С-Утеряно|', post: '}}'} } }, |
− | 'Style-S-page-continues': {label: 'Страница (продолжение)', action: {type: 'encapsulate',
| |
− | options: {pre: '{{Стр продолжение|', post: '|}}'} } },
| |
− | 'Style-S-td-ispravlenie': {label: 'ТД-исправление', action: {type: 'encapsulate',
| |
− | options: {pre: '{{ТД-исправление|текст=', post: '|ред1=|анг1=|анг3=|инфо=|участник=~~ ~~}}'} } },
| |
| '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{{Оглавление дополнения}}'} } } |
| } | | } |
| } | | } |