Template:ActivateGadget: Difference between revisions
Template page
More actions
апісаньне па-беларуску |
m стыль |
||
| Line 1: | Line 1: | ||
<onlyinclude><span class="plainlinks">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|withJS=MediaWiki:ActivateGadget.js&gadgetname={{urlencode:{{{name|noname}}}}}}} {{{message|{{LangSwitch | <onlyinclude><span class="plainlinks">[{{fullurl:{{{page|{{FULLPAGENAME}}}}}|withJS=MediaWiki:ActivateGadget.js&gadgetname={{urlencode:{{{name|noname}}}}}}} {{{message|{{LangSwitch | ||
| be-tarask =Задзейнічаць {{{name|«безназоўны»}}} | | be-tarask =Задзейнічаць гаджэт {{{name|«безназоўны»}}}! | ||
| de =Aktiviere jetzt das Helferlein „{{{name|noname}}}“! | | de =Aktiviere jetzt das Helferlein „{{{name|noname}}}“! | ||
| en =Activate the {{{name|«noname»}}} gadget now! | | en =Activate the {{{name|«noname»}}} gadget now! | ||
Revision as of 07:10, 19 November 2015
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)