Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Clickable button/doc: Difference between revisions

From Neodyland Wiki
create
add
Line 8: Line 8:
* Target a URL or a wikilink
* Target a URL or a wikilink
* Set the weight, size and state of the button (enabled or disabled).
* Set the weight, size and state of the button (enabled or disabled).
<includeonly>
<!-- Categories go here. -->
</includeonly>

Revision as of 19:58, 22 September 2025

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).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.