Template:Clickable button-rounded/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

Usage

Animated button. Hoover and click animation in border area / background. Button action only possible with links as button text.
This template extends the clickable area from the link to the whole button.

Examples

Clickable button
→ {{Clickable button-rounded|txtcolor=black|color=white}}
Clickable button
→ {{Clickable button-rounded|txtxcolor=white|color=red}}
Clickable button
→ {{Clickable button-rounded|txtcolor=white|color=blue}}

Templatedata

Creates a rounded UI styled button.

Template parameters

ParameterDescriptionTypeStatus
Label1

Text to be shown on the button, may include images, links, any Markup.

Default
none, if not given gives 'Clickable button' in language of page namespace or set page language.
Unknownrequired
Color of the texttxtcolor

Any HTML color name or code.

Default
black
Stringsuggested
Color of the buttoncolor

Any HTML color name or code.

Default
white
Stringsuggested

See also

Similar MediaWiki template