memory alpha
Template documentation ()

This template is used to create links styled like buttons.

Examples

× default progressive destructive
normal Go to Ten Forward Go to Ten Forward Go to Ten Forward
primary Go to Ten Forward Go to Ten Forward Go to Ten Forward
quiet Go to Ten Forward Go to Ten Forward Go to Ten Forward

TemplateData

This is the TemplateData for this template used by the VisualEditor and other tools.

Create a link styled like a button

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Target1

The page to link to

Page namerequired
Label2

The button text

Linesuggested
Statusstatus

The button's status

Suggested values
disabled
Default
enabled
Lineoptional
Actionaction

The type of action, determining the button's color

Suggested values
progressive destructive
Default
default
Linesuggested
Weightweight

The button's importance

Suggested values
primary quiet
Default
normal
Linesuggested
Sizesize

The button's size

Suggested values
small large
Default
medium
Lineoptional
Wrapper elementwrapper

The HTML element to wrap the button in

Default
span
Example
div
Lineoptional
Wrapper classwrapper class

A space-separated list of classes to apply to the button's wrapper element

Example
center
Lineoptional

See also