This template is used to create links styled like buttons.
Examples
| × | default | progressive | destructive |
|---|---|---|---|
| normal | |||
| primary | |||
| quiet |
TemplateData
This is the TemplateData for this template used by the VisualEditor and other tools.
Create a link styled like a button
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Target | 1 | The page to link to | Page name | required |
| Label | 2 | The button text | Line | suggested |
| Status | status | The button's status
| Line | optional |
| Action | action | The type of action, determining the button's color
| Line | suggested |
| Weight | weight | The button's importance
| Line | suggested |
| Size | size | The button's size
| Line | optional |
| Wrapper element | wrapper | The HTML element to wrap the button in
| Line | optional |
| Wrapper class | wrapper class | A space-separated list of classes to apply to the button's wrapper element
| Line | optional |