Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Button/doc: Difference between revisions

Template page
Casiope (talk | contribs)
mNo edit summary
Casiope (talk | contribs)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
The template {{tlg|button}} provides a “clickable button” formatting style for text. This button is {{em|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.


== Usage ==
== Usage ==


: {{tlx|Button|button text}} produces {{Button|button text}}
: {{tlg|code=yes|nolink=yes|button|button text}} produces {{button|button text}}


== See also ==
== See also ==


* {{tl|Key press}} – used to illustrate keystrokes, including key combinations
* {{tlg|key press}} – used to illustrate keystrokes, including key combinations
* {{tl|Kbd}} - to indicate any kind of user input without making it look like keys or buttons
* {{tlg|kbd}} - to indicate any kind of user input without making it look like keys or buttons


[[Category:Templates]]
[[Category:Templates]]
[[Category:Templates documentation]]
[[Category:Templates documentation]]

Latest revision as of 15:50, 21 July 2020

The template {{button}} 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.

Usage

{{button|button text}} produces button text

See also

  • {{key press}} – used to illustrate keystrokes, including key combinations
  • {{kbd}} - to indicate any kind of user input without making it look like keys or buttons