Користувач:Shakal07/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": [
      {
        "text": "Спецсимволи: ",
        "class": "rast.PlainTextSlot"
      },
      {
        "insertion": "($+) «$+» „$+“ | — ² ³ ½ € † ‰ ÷ × → … ° °C « » \" # § ¶ ~ · • ↑ ↓ ' (апостроф)п ·п ₴ (гривня)п ·п &nbsp; ·п Ǻ Ґ ґ Є є І і Ї ї ·п Ы ы Ъ ъ Э э ·п [[$+]] [[$+|$]] [[+:$]] {{+|$}}",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "{{lang-de|$+}} ·п {{lang-el|$+}} ·п {{lang-en|$+}} ·п {{lang-es|$+}} ·п {{lang-fr|$+}} ·п {{lang-it|$+}} ·п {{lang-ja|$+}} ·п {{lang-la|$+}} ·п {{lang-pl|$+}} ·п {{lang-pt|$+}} ·п {{lang-ru|$+}} ·п {{lang-uk|$+}}",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "{{ref-de}} ·п {{ref-en}} ·п {{ref-es}} ·п {{ref-fr}} ·п {{ref-ja}} ·п {{ref-ru}} ·п [[en:$+]] ·п {{{$+}}} ·п {{$+}} ·п {{-}} ·п {{Вимер}} ·п {{без_джерел|дата=$+}} ·п {{нп|$+|||$}} ·п </div> ·п {{nowrap|$}}",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "{{main|$+}} ·п {{seealso|$+}} ·п {{Disambig}} ·п {{DisambigG}} ·п {{Otheruses|$+}} ·п {{subst:$+}} ·п {{Wikify}} ·п {{DEFAULTSORT:$+}} ·п {{Catmore|$+}} ·п {{diff||$+}} ·п {{oldid||$+}}",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "==_$+_== ·п ===_$+_=== ·п ==_Див._також_== ·п ",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "== Примітки =={{reflist}}",
        "insertion": "==_Примітки_==\n{{reflist}}",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": " ·п ==_Посилання_== ·п ==_Джерела_== ·п <ref>$+</ref> ·п <ref_name=\"\">$+</ref>",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "<blockquote>$+</blockquote> ·п <noinclude>$+</noinclude> ·п <includeonly>$+</includeonly> ·п <math>$+</math> ·п <big>$+</big> ·п <code>$+</code> ·п <gallery_mode=\"packed\"_caption=\"\">$+</gallery>",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "[[Категорія:Персоналії $+]] ·п [[Категорія:Персонажі $+]] ·п [[Категорія:$+]] ·п [[Користувач:$+|]] ·п {{ДН|$+||}} ·п {{ДС|$+||}} ·п [[Файл:$|міні|ліворуч|200пкс|+]] ·п Файл:$+|Опис ·п ",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "ѣ Ѣ ѧ Ѧ ѩ Ѫ ѫ Ѭ ѭ ·п Ą ą Ć ć Ę ę Ł ł Ń ń Ó ó Ś ś Ż ż Ź ź ·п Ϊ Ϋ ά έ ή ί ΰ ϊ ϋ ό ύ ώ",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "insertion": "Ϊ Ϋ ά έ ή ί ΰ ϊ ϋ ό ύ ώ",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "список:п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "вікіфікувати",
        "useClickFunc": true,
        "clickFunc": "function () {\n                return rast.processSelection(rast.linkifyList);\n              }",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "звичайний",
        "useClickFunc": true,
        "clickFunc": "function () {\n                return rast.processSelection(rast.simpleList);\n              }",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "нумерований",
        "useClickFunc": true,
        "clickFunc": "function () {\n                return rast.processSelection(rast.numericList);\n              }",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "верхній регістр",
        "useClickFunc": true,
        "clickFunc": "function () {                return rast.processSelection(function(s) {                  return s.toUpperCase();                });              }",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "нижній регістр",
        "useClickFunc": true,
        "clickFunc": "function () {\n                return rast.processSelection(function(s) {\n                  return s.toLowerCase();\n                });\n              }",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "кожне слово з великої літери",
        "useClickFunc": true,
        "clickFunc": "function toCamelCase(str) {   return str.toLowerCase().replace( /(?:^| )(.)/g, function($1) { return $1.toUpperCase()}); } function () {                 return rast.processSelection(function(s) {                   return toCamelCase(s);                 });               }",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "інверсия регистру",
        "useClickFunc": true,
        "clickFunc": "function () {                 return rast.processSelection(function(s) {                   return toCamelCase(s).replace(/\\w{1}/g, function(val){     return val === val.toLowerCase() ? val.toUpperCase() : val.toLowerCase(); });                 });               }",
        "class": "rast.InsertionSlot"
      }
    ],
    "id": 0
  },
  {
    "caption": "Bio",
    "slots": [
      {
        "text": "{{Bt-ukrlat|Ukr|Lat|(|Автор|рік|)|Ж}}: ",
        "class": "rast.PlainTextSlot"
      },
      {
        "insertion": "{{Bt-ukrlat|$+|)}} ·п {{Bt-ukrlat||$+}} ·п ",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "БнНп",
        "insertion": "# {{Bt-ukrlat||{{нп|$|||$}}}}",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": " ·п ",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "Родина",
        "insertion": "{{Navbox|child\n | basestyle  = width:100px;  background:#FF96C8\n | liststyle  = width:auto; background:#AAF0B4\n | group1     = Родина{{-}}{{Bt-ukrlat|?|?}}\n | list1      = $+ ПідРодина і нижче\n}}",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "ПідРодина",
        "insertion": "{{Navbox|child\n | basestyle  = width:100px;  background:#AAF0B4\n | liststyle  = width:auto; background:#FFAFAF\n | group1     = ПідРодина{{-}}{{Bt-ukrlat|?|?}}\n | list1      = $+ Триба і нижче\n}}",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "Триба",
        "insertion": "{{Navbox|child\n | basestyle  = width:100px;  background:#FFAFAF\n | liststyle  = width:auto; background:#CAFF70\n | group1     = Триба{{-}}{{Bt-ukrlat|?|?}}\n | list1      = $+ Рід і нижче\n}}",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "Рід",
        "insertion": "{{Navbox|child\n | basestyle  = width:100px;  background:#CAFF70\n | liststyle  = width:auto; background:#7FFFD4\n | group1     = Рід{{-}}{{Bt-ukrlat|?|?}}\n | list1      = $+ ПідРід і нижче\n}}",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "caption": "ПідРід",
        "insertion": "{{Navbox|child\n | basestyle  = width:100px;  background:#7FFFD4\n | liststyle  = width:auto; background:#BFEFFF\n | group1     = ПідРід{{-}}{{Bt-ukrlat|?|?}}\n | list1      = \n# Вид і кількість ПідВидів$+\n}}",
        "class": "rast.InsertionSlot"
      },
      {
        "insertion": "·п",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "|_status\\_system_=_IUCN$+ ·п |_status_=_$+ ·п |_status\\_ref_=_$+ ·п |_extinct_=$+ ·п {{Вимер}} ·п ",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "html": "<hr/>",
        "onload": "function (){  }",
        "class": "rast.HtmlSlot"
      },
      {
        "insertion": "|_range\\_map_=_$+ ·п |_range\\_map\\_width_=_$+px ·п  |_range\\_map\\_caption_=_Ареал_$+ ·п |_range\\_map\\_legend_=_$+ ·п <div_style=\\\"text-align:_left;_margin:_3px;\\\">$+</div> ·п {{Legend|darkblue|$+}}",
        "class": "rast.MultipleInsertionsSlot"
      }
    ],
    "id": 1
  },
  {
    "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": "function () {\n        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        return $('#et-replace-nomatch, #et-replace-success,\\u0009\\u0009\\u0009 #et-replace-emptysearch, #et-replace-invalidregex').hide();\n      }",
        "class": "rast.HtmlSlot"
      }
    ],
    "id": 2
  },
  {
    "caption": "Абетки",
    "slots": [
      {
        "text": "Грецька – суч. літ.:",
        "class": "rast.PlainTextSlot"
      },
      {
        "insertion": "Α α |п Β β |п Γ γ |п Δ δ |п Ε ε |п Ζ ζ |п Η η |п Θ θ |п Ι ι |п Κ κ |п Λ λ |п Μ μ |п Ν ν |п Ξ ξ |п Ο ο |п Π π |п Ρ ρ |п Σ σ ς |п Τ τ |п Υ υ |п Φ φ |п Χ χ |п Ψ ψ |п Ω ω",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "text": "істор. літ.:",
        "class": "rast.PlainTextSlot"
      },
      {
        "insertion": "Ϝ ϝ |п Ͷ ͷ |п Ͱ ͱ |п Ϻ ϻ |п Ϙ ϙ |п Ϟ ϟ |п Ͳ ͳ |п Ϡ ϡ\n",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "text": "для ін. мов:",
        "class": "rast.PlainTextSlot"
      },
      {
        "insertion": "Ϳ ϳ |п Ϸ ϸ",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "text": "лігатури:",
        "class": "rast.PlainTextSlot"
      },
      {
        "insertion": "Ϛ ϛ |п Ϗ ϗ",
        "class": "rast.MultipleInsertionsSlot"
      },
      {
        "text": "альтерн. форми:",
        "class": "rast.PlainTextSlot"
      },
      {
        "insertion": "ϐ |п ϵ |п ϶ |п ϴ ϑ |п ϰ |п ϖ |п ϱ |п ϼ |п Ϲ ϲ |п Ͼ ͼ |п Ͻ ͻ |п Ͽ ͽ |п ϒ |п ϕ",
        "class": "rast.MultipleInsertionsSlot"
      }
    ],
    "id": 3
  }
]</nowiki>