Користувач:Flipping Switches/AStools.js

Матеріал з Вікіпедії — вільної енциклопедії.
Перейти до навігації Перейти до пошуку

Увага: Після публікування слід очистити кеш браузера, щоб побачити зміни.

  • Firefox / Safari: тримайте Shift, коли натискаєте Оновити, або натисніть Ctrl-F5 чи Ctrl-Shift-R (⌘-R на Apple Mac)
  • Google Chrome: натисніть Ctrl-Shift-R (⌘-Shift-R на Apple Mac)
  • Internet Explorer / Edge: тримайте Ctrl, коли натискаєте Оновити, або натисніть Ctrl-F5
  • Opera: натисніть Ctrl-F5
[[User:AS/track]]<nowiki>[
  {
    "caption": "Оформлення",
    "slots": [
      {
        "css": "font-weight:bold",
        "caption": "Ж",
        "insertion": "'''$+'''",
        "class": "rast.InsertionSlot"
      },
      {
        "css": "font-style:italic",
        "caption": "П",
        "insertion": "''$+''",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "[[$+]] [$+] ($+) «$+» „$+“ {{$+}} \\\\$+",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "insertion": "{{=}} {{!}} ·п | ·п –",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "insertion": "— ² ³ ½ € † ‰ ÷ × → … ° °C « » ' \" # § ¶ ~ · • ↑ ↓",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "insertion": "₴ ·п &nbsp; ·п Ǻ Ґ ґ Є є І і Ї ї ·п Ы ы Ъ ъ Э э ·п &nbsp;—_ ·п &nbsp;% ·п &#32; ·п &#09; ·п <pre>$+</pre>",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<br/>",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "[[$+|$]] [[+:$]] {{$|+}} {{{$|+}}} {{{$+}}}",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "insertion": "{{main|$+}} {{Catmore|$+}} {{lang-en|$+}} {{lang|en|$+}}",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "text": "{{ref-",
        "class": "rast.PlainTextSlot"
      },
      {
        "caption": "en",
        "insertion": "{{ref-en}}",
        "class": "rast.InsertionSlot"
      },
      {
        "text": "}}",
        "class": "rast.PlainTextSlot"
      },
      {
        "insertion": "·п <ref>$+</ref> ·п <ref_name=\"\">$+</ref> ·п <ref_name=\"$+\"/> ·п <blockquote>$+</blockquote> ·п <s>$+</s> ·п <sup>$+</sup> ·п <sub>$+</sub> ·п <syntaxhighlight_lang=\"JavaScript\">$+</syntaxhighlight> ·п <big>$+</big> ·п <small>$+</small> ·п <math>$+</math> ·п <source_lang=\"+\">$</source> ·п [[Файл:$|міні|ліворуч|200пкс|+]] ·п </div> ·п <code>$+</code> <nowiki>$<+/nowiki> ·п <nowiki/>",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "<code+nowiki>\n",
        "insertion": "<code><nowiki>$<+/nowiki></code>",
        "class": "rast.InsertionSlot"
      },
      {
        "caption": "<tag></tag>",
        "insertion": "<$>+</$>",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п <+>$</> <!--_$+_--> <br/> <wbr/>",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<br/>",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "==_$+_== ·п ===_$+_=== ·п ==_Див._також_== ·п ==_Коментарі_==\n{{notelist}} ·п ==_Примітки_==\n{{reflist|refs=$+\n}} ·п {{refbegin}}\n*_$+\n{{refend}} ·п ==_Джерела_== ·п ==_Посилання_== ·п ==_Посилання_==\n*_{{Official}}\n*_{{IMDb_title}}\n{{нк}} ·п /*_$_*/+",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<br/>",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "список:п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "вікіфікувати",
        "useClickFunc": true,
        "clickFunc": "rast.processSelection(rast.linkifyList)",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "звичайний",
        "useClickFunc": true,
        "clickFunc": "rast.processSelection(rast.simpleList)",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "нумерований",
        "useClickFunc": true,
        "clickFunc": "rast.processSelection(rast.numericList)",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "нижній регістр",
        "useClickFunc": true,
        "clickFunc": "rast.processSelection(function(s) { return s.toLowerCase(); })",
        "class": "rast.InsertionSlot"
      }
    ],
    "id": 0
  },
  {
    "caption": "Шаблони",
    "slots": [
      {
        "insertion": "{{ubl|$+}} ·п {{Wikify$+}} ·п {{Без_джерел+}} ·п {{Перекладена_стаття||$+}} ·п {{Disambig$+}} {{DisambigG$+}} {{Otheruses|$+}} <noinclude>$+</noinclude> ·п <includeonly>$+</includeonly> ·п <onlyinclude>$+</onlyinclude> [[Категорія:$+]] {{DEFAULTSORT:$+}} {{Interwiki extra|$+}} [[Користувач:$|$+]] ·п {{ping|$+}} $+_—~~~~ $+_—_З_повагою,_~~~~",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "insertion": "#ПЕРЕНАПРАВЛЕННЯ_[[$+]] ·п {{нп|$||en|+}} {{Cite_Q|+|*}} {{Unibox|$+}} {{Особа|$+}} {{нар|ж}} {{життєпис|(=ні}} {{нк}}",
        "class": "rast.MultipleInsertionsSlot"
      }
    ],
    "id": 1
  },
  {
    "caption": "Алфавіти",
    "slots": [
      {
        "insertion": "ѣ Ѣ ѧ Ѧ ѩ Ѫ ѫ Ѭ ѭ ·р Ą ą Ć ć Ę ę Ł ł Ń ń Ó ó Ś ś Ż ż Ź ź \n Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω Ϊ Ϋ ά έ ή ί ΰ α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ ς σ τ υ φ χ ψ ω ϊ ϋ ό ύ ώ",
        "class": "rast.MultipleInsertionsSlot"
      }
    ],
    "id": 2
  },
  {
    "caption": "Заміна",
    "slots": [
      {
        "html": "<div>\t\t\t\t\t\t\t<div id=\"et-replace-message\">\t\t\t\t\t\t\t\t<div id=\"et-replace-nomatch\">Нема збігів</div>\t\t\t\t\t\t\t\t<div id=\"et-replace-success\">Заміни виконано</div>\t\t\t\t\t\t\t\t<div id=\"et-replace-emptysearch\">Вкажіть рядок до пошуку</div>\t\t\t\t\t\t\t\t<div id=\"et-replace-invalidregex\">Неправильний регулярний вираз</div>\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t<span class=\"et-field-wrapper\">\t\t\t\t\t\t\t\t\t<label for=\"et-replace-search\" style=\"float: left; min-width: 6em;\">Шукати</label>\t\t\t\t\t\t\t\t\t<span style=\"display: block; overflow: hidden;\">\t\t\t\t\t\t\t\t\t  <input type=\"text\" id=\"et-replace-search\" style=\"width: 100%;\"/>\t\t\t\t\t\t\t\t\t</span>\t\t\t\t\t\t\t\t</span>\t\t\t\t\t\t\t\t<div style=\"clear: both;\"/>\t\t\t\t\t\t\t\t<span class=\"et-field-wrapper\">\t\t\t\t\t\t\t\t\t<label for=\"et-replace-replace\" style=\"float: left; min-width: 6em;\">Заміна</label>\t\t\t\t\t\t\t\t\t<span style=\"display: block; overflow: hidden;\">\t\t\t\t\t\t\t\t\t  <input type=\"text\" id=\"et-replace-replace\" style=\"width: 100%;\"/>\t\t\t\t\t\t\t\t\t</span>\t\t\t\t\t\t\t\t</span>\t\t\t\t\t\t\t\t<div style=\"clear: both;\"/>\t\t\t\t\t\t\t\t<input id=\"et-tool-replace-button-findnext\" type=\"button\" value=\"Шукати\" />\t\t\t\t\t\t\t\t<input id=\"et-tool-replace-button-replace\" type=\"button\" value=\"Замінити\" />\t\t\t\t\t\t\t\t<input id=\"et-tool-replace-button-replaceall\" type=\"button\" value=\"Замінити все\" />\t\t\t\t\t\t\t\t<span class=\"et-field-wrapper\">\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" id=\"et-replace-case\"/>\t\t\t\t\t\t\t\t\t<label for=\"et-replace-case\">Враховувати регістр</label>\t\t\t\t\t\t\t\t</span>\t\t\t\t\t\t\t\t<span class=\"et-field-wrapper\">\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" id=\"et-replace-regex\"/>\t\t\t\t\t\t\t\t\t<label for=\"et-replace-regex\">Регулярний вираз</label>\t\t\t\t\t\t\t\t</span>\t\t\t</div>",
        "onload": "rast.searchAndReplace.offset = 0;\n        rast.searchAndReplace.matchIndex = 0;\n        $(document).on('click', '#et-tool-replace-button-findnext', function(e) {\n          rast.searchAndReplace.doSearchReplace('find');\n        });\n        $(document).on('click', '#et-tool-replace-button-replace', function(e) {\n          rast.searchAndReplace.doSearchReplace('replace');\n        });\n        $(document).on('click', '#et-tool-replace-button-replaceall', function(e) {\n          rast.searchAndReplace.doSearchReplace('replaceAll');\n        });\n        $('#et-replace-nomatch, #et-replace-success, #et-replace-emptysearch, #et-replace-invalidregex').hide();",
        "class": "rast.HtmlSlot"
      }
    ],
    "id": 3
  }
]</nowiki>