Template:Button/doc
Appearance
| Documentation subpage |
|---|
| View this documentation's related template: Template:Button (edit). |
| Template styles: CSS styles (edit). |
Examples
[edit source]{{button|Main Page|Home Page|dplchapter|#dplchapter}}gives:
{{button|Main Page|Home Page}}gives:
Formats the blue example buttons and their links, depending on the parameters specified. Due to the float applied values appear in reverse order: 4, 3, 2, 1.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| (Right button link) 1 | 1 | Enter the page name for the right button link. | Page name | required |
| (Right button display text) 2 | 2 | Enter the text for the right button text displayed. | String | optional |
| (Left button link) 3 | 3 | Enter the page name for the left button link. | Page name | optional |
| (Left button text) 4 | 4 | Enter the text for the left button text displayed. | String | optional |
| (top) margin | margin | Specify any valid CSS value to override the top margins. | String | optional |