Jump to content

Template:User script install button/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Qwerfjkl (talk | contribs) at 17:59, 7 February 2022 (Fix {{Script installer link}} (parameters changed)). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

Usage

[edit]

This can be used on script documentation pages, or it can been forced to use any script through {{{1}}}. It will produce a button for installing the script if the user has script installer enabled in settings.

Example

{{User script install button|User:Example/script.js}} produces Install Button


TemplateData

[edit]

Add link to run script installer

Template parameters

ParameterDescriptionTypeStatus
1title 1

Page to run on

Default
{{FULLPAGENAME}}
Stringoptional

See also

[edit]