No edit summary |
No edit summary |
||
(27 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Documentation}}</noinclude> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 32: | Line 33: | ||
"label": "URL", | "label": "URL", | ||
"description": "Script URL", | "description": "Script URL", | ||
"type": "url", | "type": "url" | ||
" | }, | ||
"chrome": { | |||
"label": "Chrome Extension", | |||
"description": "Chrome Extension", | |||
"type": "url" | |||
}, | |||
"firefox": { | |||
"label": "Firefox Extension", | |||
"description": "Firefox Extension", | |||
"type": "url" | |||
}, | |||
"monkey": { | |||
"label": "Monkey extension", | |||
"description": "Monkey extension", | |||
"type": "url" | |||
} | } | ||
}, | }, | ||
Line 42: | Line 57: | ||
"description", | "description", | ||
"thumbnail", | "thumbnail", | ||
"url" | "url", | ||
"chrome", | |||
"firefox", | |||
"monkey" | |||
], | ], | ||
"format": "block" | "format": "block" | ||
Line 48: | Line 66: | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#if: {{{name|}}} | ==={{{name}}}=== }} | |||
{{#if: {{{thumbnail|}}} | [[{{{thumbnail}}}|right|240px|thumb]] }}{{#if: {{{type|}}} | '''{{{type}}}''' <br/> }}{{#if: {{{description|}}} | {{{description}}} <br/> }}{{#if: {{{url|}}} | * {{{url}}} }}{{#if: {{{chrome|}}} | * [{{{chrome}}} Додаток до Chrome] }}{{#if: {{{firefox|}}} | * [{{{firefox}}} Додаток до Firefox] }}{{#if: {{{monkey|}}} | * [{{{monkey}}} Monkey скрипт] }} | |||
{| | </includeonly> | ||
| | <noinclude>[[Category:Шаблони]]</noinclude> | ||
| | |||
| | |||
| | |||
| {{{description}}} | |||
| | |||
| | |||
| {{{url}}} | |||
|} |
Latest revision as of 07:49, 3 April 2019
Приклад використання:
{{Script | name = WME Toolbox | type = Додаток до браузера | thumbnail = File:WME-Toolbox.png | description = Позначає на карті обмеження швидкості, блокування та деякі помилки, дозволяє вимірювати відстань та багато іншого | chrome = https://chrome.google.com/webstore/detail/wme-toolbox/ihebciailciabdiknfomleeccodkdejn | firefox = https://gitlab.com/doctorkb/wme-toolbox-public/raw/master/Dist/Firefox/wmetoolbox.xpi }}
Addon for WME
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Script name
| String | required |
Type | type | Script type
| String | required |
Description | description | Script description
| String | optional |
Thumbnail | thumbnail | Thumbnail | File | optional |
URL | url | Script URL | URL | optional |
Chrome Extension | chrome | Chrome Extension | URL | optional |
Firefox Extension | firefox | Firefox Extension | URL | optional |
Monkey extension | monkey | Monkey extension | URL | optional |