Template:Button/doc View history

Revision as of 23:59, 28 December 2022 by Kentsmith9 (talk | contribs) (Updated doc to follow temporary change to button function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a documentation subpage for Template:Button.
It contains usage information, categories and other content that is not part of the original template page.

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