Gadgets
Below is a list of special gadgets users can enable on their preferences page, as defined by the definitions. This overview provides easy access to the system message pages that define each gadget's description and code.
⧼gadget-section-External⧽ [View description]
- ⧼gadget-tooltip⧽ (View description | Export)
Uses: Gadget-popper.js, Gadget-tooltip.js
⧼gadget-section-Core⧽ [View description]
- Switch-infobox: Allows infoboxes to have buttons or dropdowns allowing them to switch between versions. (View description | Export)
Uses: Gadget-switch-infobox.js, Gadget-switch-infobox.css
Enabled for everyone by default. - ⧼gadget-switch-infobox-styles⧽ (View description | Export)
Uses: Gadget-switch-infobox.css
Enabled for everyone by default. - Autocollapse: Auto collapse navboxes if there's more than one or the height exceeds 300. (View description | Export)
Uses: Gadget-autocollapse.js
Enabled for everyone by default. - RSW Utilities: Various utilities and functions to help other gadgets. Functions are available under the rswiki global variable: addCommas, parseTemplate, parseExchangeModule, crossDomain, createOOUIWindow, canSendBrowserNotifs, sendBrowserNotif, hasLocalStorage, isUsingDarkmode, qsp, getFileURL, isUsingStickyHeader. (View description | Export)
Uses: Gadget-rsw-util.js
Enabled for everyone by default.