Template:Button
Creates a call-to-action button. All parameters, except the 'target', are optional. The target can be a valid URL or a wiki page name. Compared to the the span version on the How to Wiki page, this template allows a more structured input and permit button modifications via the class parameter. This template is also adapted for the use inside the Template:Button_group.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Target | target | A valid URL or a wiki page name the button is linked to. | String | required |
| Wrapper div ID | id | An ID of the wrapper div for easy styling and scripting. | String | optional |
| Button text | label | no description
| String | suggested |
| CSS class names: | class | Add custom styling for the button | String | optional |
- Example (basic)
{{button
|target=Main Page
|label=Home
}}
- Result