Template:Button
Appearance
| Template documentation |
|---|
| Note: portions of the template sample may not be visible without values provided. |
| View or edit this template's documentation (edit) (about template documentation). |
No TemplateStyles exist (create). Remember to add after the opening <includeonly> tag:
|
<templatestyles src="Template:Button/styles.css" />
|
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 |