VOOZH about

URL: https://minecraft.wiki/w/Template:Gadget

⇱ Template:Gadget – Minecraft Wiki


Template:Gadget

From Minecraft Wiki
Jump to navigation Jump to search

{{{1}}}: {{{2}}}

Documentation[view] [edit] [history] [purge]

Creates source links for use on Gadget definition pages.

Examples

{{Gadget|Revision patrol|Show patrol status on history, diff, and revision pages.|revisionPatrol}}
Revision patrol: Show patrol status on history, diff, and revision pages. [Source]

{{Gadget|Revision patrol|Show patrol status on history, diff, and revision pages.|revisionPatrol|default=1}}
(D) Revision patrol: Show patrol status on history, diff, and revision pages. [Source]

{{Gadget|Revision patrol|Show patrol status on history, diff, and revision pages.|revisionPatrol|css=1}}
Revision patrol: Show patrol status on history, diff, and revision pages. [Source | CSS]

{{Gadget|Revision patrol|Show patrol status on history, diff, and revision pages.|revisionPatrol|css=1|nojs=1}}
Revision patrol: Show patrol status on history, diff, and revision pages. [CSS]

Template data

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Gadget name1 gadgetName

If the gadget is enabled by default.

Example
Maps
Stringrequired
Descriptiondescription

Description of what the purpose of the Gadget is, and what it can offer users who enable it.

Example
Enable [[:Category:Maps|interactive maps]].
Stringrequired
No JavaScript2 nojs

If the gadget does not utilise JavaScript.

Suggested values
1 yes Yes
Example
Yes
Stringsuggested
JavaScript pagejsPage

If the JavaScript page is different from the name of the script.

Example
maps/code.js
Page nameoptional
CSS3 css

If the gadget utilises CSS.

Stringsuggested
CSS pagecssPage

If the CSS page is different from the name of the script.

Suggested values
1 yes Yes
Example
halloweenTheme.css
Page nameoptional
Defaultdefault

If the gadget is to be enabled by default for all users.

Suggested values
1 yes Yes
Example
Yes
Stringsuggested
Previewpreview

If the gadget can be previewed before being enabled.

Suggested values
1 yes Yes
Example
Yes
Stringoptional
Preview pagepreviewPage

Which page to preview the defined gadget on.

Example
MCW:Java Edition version list
Page nameoptional
With Gadgetwithgadget

If using the preview parameter, this will define which gadget is being previewed.

Suggested values
1 yes Yes
Example
halloweenTheme
Page nameoptional
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Gadget/doc.
Retrieved from "https://minecraft.wiki/w/Template:Gadget?oldid=2462380"

Navigation menu