No edit summary |
No edit summary |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Documentation}}</noinclude> | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 47: | Line 48: | ||
"label": "Monkey extension", | "label": "Monkey extension", | ||
"description": "Monkey extension", | "description": "Monkey extension", | ||
"type": "url" | |||
}, | |||
"github": { | |||
"label": "GitHub link", | |||
"description": "GitHub link", | |||
"type": "url" | "type": "url" | ||
} | } | ||
Line 59: | Line 65: | ||
"chrome", | "chrome", | ||
"firefox", | "firefox", | ||
"monkey" | "monkey", | ||
"github" | |||
], | ], | ||
"format": "block" | "format": "block" | ||
Line 66: | Line 73: | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#if: {{{name|}}} | ==={{{name}}}=== }} | <includeonly>{{#if: {{{name|}}} | ==={{{name}}}=== }} | ||
{{#if: {{{thumbnail|}}} | [[{{{thumbnail}}}|right| | {{#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 скрипт] }}{{#if: {{{github|}}} | * [{{{github}}} GitHub] }} | ||
</includeonly> | |||
<noinclude>[[Category:Шаблони]]</noinclude> | <noinclude>[[Category:Шаблони]]</noinclude> |
Latest revision as of 16:37, 20 February 2023
Приклад використання:
{{Script | name = WME Toolbox | type = Додаток до браузера | thumbnail = File:WME-Toolbox.png | description = Позначає на карті обмеження швидкості, блокування та деякі помилки, дозволяє вимірювати відстань та багато іншого | chrome = https://chrome.google.com/webstore/detail/wme-.../... | firefox = https://github.com/.../...xpi | github = https://github.com/.../... }}
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 |
GitHub link | github | GitHub link | URL | optional |