Template:Button/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
m (9 revisions)
No edit summary
Line 1: Line 1:
{{Documentation subpage}}
<!-- Categories and interwikis go at the bottom of this page. -->
This template provides a "clickable button" formatting style for text. It 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.)
This template provides a "clickable button" formatting style for text. It 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.)


Line 12: Line 9:


<includeonly>
<includeonly>
<!-- Categories and interwikis go here: -->
[[Category:Templates]]
[[Category:Wikipedia formatting and function templates]]
</includeonly>
</includeonly>

Revision as of 00:45, 17 March 2012

This template provides a "clickable button" formatting style for text. It 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|text=button text}} produces button text
  • {{Button|text=button text|format=bold}} produces button text

Alternatively, {{Button|button text}} also produces button text

See also