Template:Script View history

No edit summary
No edit summary
Line 34: Line 34:
"type": "url",
"type": "url",
"required": true
"required": true
},
"chrome": {
"label": "Chrome Extension",
"description": "Chrome Extension",
"type": "url"
},
"firefox": {
"label": "Firefox Extension",
"description": "Firefox Extension",
"type": "url"
}
}
},
},
Line 42: Line 52:
"description",
"description",
"thumbnail",
"thumbnail",
"url"
"url",
"chrome",
"firefox"
],
],
"format": "block"
"format": "block"
Line 58: Line 70:
| Можливості
| Можливості
| {{{description}}}
| {{{description}}}
{{#if: {{{url}}} |
|-
| Посилання
| {{{url}}} | }}
{{#if: {{{chrome}}} |  
{{#if: {{{chrome}}} |  
|-
|-
| chrome
| Chrome
| {{{chrome}}} | }}
| {{{chrome}}} | }}
{{#if: {{{firefox}}} |
|-
| Firefox
| {{{firefox}}} | }}
|}
|}

Revision as of 16:54, 26 March 2019

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

URLrequired
Chrome Extensionchrome

Chrome Extension

URLoptional
Firefox Extensionfirefox

Firefox Extension

URLoptional


{{{name}}}

Тип {{{type}}} [[{{{thumbnail}}}|320px|thumb]]
Можливості {{{description}}}