Template:ActivateGadget
Jump to navigation
Jump to search
Activate the «noname» gadget now!
This documentation is transcluded from Template:ActivateGadget/doc.
Provides a stable link for activating gadgets without having users to send to Special:Preferences#mw-prefsection-gadgets.
Usage
{{ActivateGadget |page= |name= |message= |4= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
page | The page, the link should point to. Note that on some pages (prefs, login), site JavaScript is disabled and therefore this won't work. Example page: Help:Cat-a-lot | {{FULLPAGENAME}} | optional | |
name | The name of the gadget. Without any decoration. Not necessarily the name of the script. | noname | required | |
message | The text to display. | A localized text indicating that gadget X will be activated when clicking the link. | optional | |
4 | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: all users
Relies on:
- MediaWiki:ActivateGadget.js and the willingness of mw-devs not to break things ;~)
See also
Localization
To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation
" (xx
being the code of your language)