Template:Gadget-talk
This script, Gadget-talk, is a JavaScript gadget which can be enabled or disabled in your Preferences. |
Gadget descriptions: ⧼Gadget-talkG⧽ |
i18n | Gadget translations:
missing or unrecognised i18n type |
Header for the documentation pages of gadgets. ? use 'gadget' parameter to allow use on non-gadget scripts
The template automatically sets the following categories:
Category:User scripts needing internationalisation, if |i18n=
is 'missing' or empty. Sets Category:Gadget scripts, unless |category=
is set.
Usage
{{Gadget-talk |name= |script= |doc= |talk= |gadgeturl= |i18n= |i18ndetails= |category= }}
Template parameters
Parameter | Description | Default | Status | |
---|---|---|---|---|
name | name of the Gadget - to help users recognise it in their Preferences | {{BASEPAGENAME}} (the name of the 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) | required | |
doc | location of the documentation page of the Gadget. Use the full pagename. | empty | optional | |
talk | location of the documentation page of the Gadget. Use the full pagename. | empty | optional | |
gadgeturl | location of the gadget description page of the Gadget. This is normally the same as script, but if it isn't, use this parameter to distinguish. Use the full pagename. | empty | optional | |
i18n | record i18n type/status/requirement. Values: missing/notneeded/internal/subpage-internal/subpage-entire/mediawiki-msg. | empty | optional | |
i18ndetails | record i18n details relevant to i18n type | empty | optional | |
category | prevents autocategorising in Category:Gadget scripts, and instead categorises in 'category'. 'Category' should be given without wikilinks or the 'Category:' namespace, i.e. Category:User scripts should be given as User scripts | empty | optional |
Additional information
The template is intended to be used in the following namespaces: the MediaWiki talk namespace
The template is intended to be used by the following user groups: all users
Placement: At the top of the page
Relies on:
{{Lang links}}
Localization
Deutsch ∙ English ∙ français ∙ Bahasa Indonesia ∙ македонски ∙ Nederlands ∙ português do Brasil ∙ русский ∙ slovenščina
This template makes use of {{Autotranslate}} and the translate extension.