Template:Gadget/doc

From Sea of Thieves Wiki
Jump to navigation Jump to search

This template is used on the description pages of gadgets to provide a standardized documentation.

Usage

{{ gadget | <name> | <description> | <internal name> | default = y/yes | nojs = y/yes | css = y/yes }}

First unnamed parameter

Name of the gadget.

Second unnamed parameter

Description of the gadget.

Third unnamed parameter

Internal name of the gadget. This corresponds to the title of the gadget's MediaWiki description page, without the MediaWiki:Gadget- part. For the Preview Tab gadget (description page: MediaWiki:Gadget-previewTab), for instance, this would be previewTab.

default

Indicates that the gadget is enabled by default.

nojs

Suppresses the "source" link that points to the gadget's JS page by default. This is useful for CSS-only gadgets.

css

Adds a link to the gadget's style page (MediaWiki:Gadget-$3.css).

Examples

Template:Category Template:Language info