Jump to content

Template:Button

From DynamicPageList4 Manual
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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
(Right button link) 11

Enter the page name for the right button link.

Page namerequired
(Right button display text) 22

Enter the text for the right button text displayed.

Stringoptional
(Left button link) 33

Enter the page name for the left button link.

Page nameoptional
(Left button text) 44

Enter the text for the left button text displayed.

Stringoptional
(top) marginmargin

Specify any valid CSS value to override the top margins.

Stringoptional


Cookies help us deliver our services. By using our services, you agree to our use of cookies.