Difference between revisions of "Template:Button/doc"

From Summertime Saga Wiki
Jump to: navigation, search
m (Usage)
m
 
(8 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
* HTML Keyboard Input element <code><nowiki><kbd>...</kbd></nowiki></code> – 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:Documentation subpages]]
+
[[Category:Templates]]
 +
[[Category:Templates documentation]]

Latest revision as of 16: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