Template:Button View history

Revision as of 23:52, 28 December 2022 by Kentsmith9 (talk | contribs) (Fixing Button operation due to class change in WP; temporary changes for now while investigating other options)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation icon Template documentation[view] [edit] [history] [purge]

This template provides a "clickable button" formatting style for text. This button is not clickable, and care should be taken when using it to avoid readers thinking the result may be. (It has an explanatory tooltip for users hovering over it, but that may not always be displayed, or only displayed after too long a delay, so that it may not show up to people trying to click it.)

If you need a clickable button, use {{Clickable button}}.

Usage

  • {{Button|button text}} produces button text
  • {{Button|[[File:WikEd close.png]]}} produces

Parameters

This template will accept the following parameters, all are optional except for the first unnamed parameter.

  • |button text This is the text that will be shown in the button. It is the only unnamed parameter
  • |bgcolor= Set the background color of the button

See also

  • {{key press}} – used to illustrate keystrokes
The above documentation is transcluded from Template:Button/doc.
Please add categories to the /doc subpage.
Subpages of this template.