Template:Button/doc: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:


=== Usage ===
=== Usage ===
* {{tlx|1=Button|2=button text}} produces {{Button|button text}}
* {{tlx|1=Button|2=text=button text}} produces {{Button|text=button text}}
 
* {{tlx|1=Button|2=text=button text|3=format=bold}} produces {{Button|text=button text|format=bold}} <small>(note that the button uses the standard <nowiki>'''</nowiki> formatting marks, so that, as usual, if the button is contained within text that is already bold, "format=bold" will ''negate'' the existing formatting, and make it ''not'' bold)</small>


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

Revision as of 12:54, 24 May 2011


This template provides a "clickable button" formatting style for text. It is not clickable.

Usage

  • {{Button|text=button text}} produces button text
  • {{Button|text=button text|format=bold}} produces button text (note that the button uses the standard ''' formatting marks, so that, as usual, if the button is contained within text that is already bold, "format=bold" will negate the existing formatting, and make it not bold)

See also