Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 19:47, 26 April 2026 by Daharoni (talk | contribs) (Created page with "<noinclude> Renders a styled button-link. Supports both internal wiki page links and external URLs, with primary and secondary visual variants. Use <code>page</code> for internal links (e.g. <code>Special:RequestAccount</code>), or <code>url</code> for external links (e.g. a Brevo subscribe form). Provide exactly one. If both are set, <code>url</code> wins. The <code>style</code> parameter chooses the visual treatment: * <code>primary</code> (default) — filled progre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Renders a styled button-link. Supports both internal wiki page links and external URLs, with primary and secondary visual variants.

Use page for internal links (e.g. Special:RequestAccount), or url for external links (e.g. a Brevo subscribe form). Provide exactly one. If both are set, url wins.

The style parameter chooses the visual treatment:

  • primary (default) — filled progressive blue. Use for the main
 call-to-action on a page (e.g. mailing list signup, primary form).
  • secondary — outlined neutral. Use for supporting CTAs that
 shouldn't compete with the primary action (e.g. "Request an account" next
 to a "Subscribe" button).

Styling uses Citizen-skin CSS custom properties with hex fallbacks so the button adapts to light/dark mode and degrades gracefully on other skins.

Parameters:

  • page — internal wikilink target (mutually exclusive with url)
  • url — external URL (mutually exclusive with page)
  • label — button text (required)
  • styleprimary or secondary (default: primary)