Template:Script View history

No edit summary
No edit summary
 
Line 48: 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 60: Line 65:
"chrome",
"chrome",
"firefox",
"firefox",
"monkey"
"monkey",
"github"
],
],
"format": "block"
"format": "block"
Line 67: Line 73:
</noinclude>
</noinclude>
<includeonly>{{#if: {{{name|}}} | ==={{{name}}}=== }}
<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 скрипт] }}
{{#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>
</includeonly>
<noinclude>[[Category:Шаблони]]</noinclude>
<noinclude>[[Category:Шаблони]]</noinclude>

Latest revision as of 16:37, 20 February 2023

link
link

Приклад використання:

{{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

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename

Script name

Example
WME Toolbox
Stringrequired
Typetype

Script type

Example
Browser extension
Auto value
Browser extension
Stringrequired
Descriptiondescription

Script description

Auto value
Stringoptional
Thumbnailthumbnail

Thumbnail

Fileoptional
URLurl

Script URL

URLoptional
Chrome Extensionchrome

Chrome Extension

URLoptional
Firefox Extensionfirefox

Firefox Extension

URLoptional
Monkey extensionmonkey

Monkey extension

URLoptional
GitHub linkgithub

GitHub link

URLoptional