Template:Gadget-help
Jump to navigation
Jump to search
This is the documentation for Gadget-help, a JavaScript gadget which can be enabled or disabled in your Preferences. The script itself is located at MediaWiki:Gadget-help.css. |
If you need more help, please ask at the discussion page or at Commons:Help desk. Documentation: |
This documentation is transcluded from Template:Gadget-help/doc.
Header for the documentation pages of gadgets
The template automatically sets the following categories:
- Category:Gadget script documentation
- A localized version of Category:Commons help
Usage
{{Gadget-help |name= |script= |doc= |talk= |tech-name= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
name | Name of the Gadget - to help users recognise it in their Preferences. Also used as a category sort key, so it should not contain wiki syntax. | {{BASEPAGENAME}} (the name of the documentation page, without the namespace) | optional | |
script | Location of the Javascript page of the Gadget. Exclude the namespace (MediaWiki:) and extension (.js). | MediaWiki:{{BASEPAGENAME}}.js (the name of the documentation page, without the namespace and MediaWiki: prefixed and .js suffixed) | optional | |
doc | location of the documentation page of the Gadget. Use the full pagename. | Help:{{BASEPAGENAME}} (the name of the documentation page, without the namespace and Help: prefixed) | optional | |
talk | location of the documentation page of the Gadget. Use the full pagename. | MediaWiki talk:{{BASEPAGENAME}}.js (the name of the documentation page, without the namespace and MediaWiki talk: prefixed and .js suffixed) | optional | |
tech-name | The technical name of the gadget as defined in MediaWiki:Gadgets-definition. Used internally. | empty | optional | |
lang | Fix the language of the template and make it independent from the user interface language. Useful on translated pages | {{int:lang}} | 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
Localization
This template makes use of {{Autotranslate}} and the translate extension.