Template:Gadget-talk


Template documentationview · edit · history · purge ]
This documentation is transcluded from Template:Gadget-talk/doc.

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

ParameterDescriptionDefaultStatus
namename of the Gadget - to help users recognise it in their Preferences{{BASEPAGENAME}} (the name of the page, without the namespace)optional
scriptlocation 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
doclocation of the documentation page of the Gadget. Use the full pagename.emptyoptional
talklocation of the documentation page of the Gadget. Use the full pagename.emptyoptional
gadgeturllocation 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.emptyoptional
i18nrecord i18n type/status/requirement. Values: missing/notneeded/internal/subpage-internal/subpage-entire/mediawiki-msg.emptyoptional
i18ndetailsrecord i18n details relevant to i18n typeemptyoptional
categoryprevents 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 scriptsemptyoptional

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.