Template:Button: Difference between revisions
Create Button template |
No edit summary |
||
| Line 14: | Line 14: | ||
}, | }, | ||
"2": { | "2": { | ||
"label": "URL", | "label": "URL or page name", | ||
"description": "The link the button points to.", | "description": "The link the button points to \u2014 an external URL (https://...), a site-relative path (/wiki/...), or just a wiki page name (e.g. Main Page).", | ||
"type": " | "type": "string", | ||
"suggested": true, | "suggested": true, | ||
"aliases": ["href"] | "aliases": ["href"] | ||
Latest revision as of 10:23, 31 July 2026
Renders a Qt Design System button (qt-button web component) that links to a URL.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Label | 1 label | Text shown on the button.
| String | optional |
| URL or page name | 2 href | The link the button points to — an external URL (https://...), a site-relative path (/wiki/...), or just a wiki page name (e.g. Main Page). | String | suggested |
| Appearance | 3 appearance | Visual style of the button.
| String | optional |
| Brand | 4 brand | Brand color styling of the button.
| String | optional |