Module:Clickable button/doc
From Neodyland Wiki
More actions
This is the documentation page for Module:Clickable button
Shortcuts: Module:Clickable button (talk · edit · hist · links · doc · subpages · tests / results · sandbox · all modules)
Generates wikitext to render the a clickable button. Renders the button component from the Codex design system for Wikimedia. Includes helper functions for URL parsing and cleaning, adding tracking categories. Intended for use in templates and other modules. Implements Template:Clickable button and others. Supports legacy parameters.
- Options to include an icon from the list in Template:Clickable button/styles.css
- Create an icon-only or a dummy button (no target link/URL)
- Target a URL or a wikilink
- Set the weight, size and state of the button (enabled or disabled).