Template:Button

From The Museum of Human Achievement

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.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Targettarget

A valid URL or a wiki page name the button is linked to.

Stringrequired
Wrapper div IDid

An ID of the wrapper div for easy styling and scripting.

Stringoptional
Button textlabel

no description

Default
Call
Stringsuggested
CSS class names:class

Add custom styling for the button

Stringoptional
Example (basic)
{{button
|target=Main Page
|label=Home
}}
Result