Jump to content

Template:Button/doc

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

Template parameters

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.