Template:Button: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="padding:3px 8px; {{border-radius|5px}}; {{gradient|#dfdfdf|#fcfcfc|bottom}}; border:1px solid #555;">{{#if:{{{format|}}}|bold|'''||}}{{{text|the button}}}{{#if:{{{format|}}}|bold|'''||}}</span><noinclude> | <span style="padding:3px 8px; {{border-radius|5px}}; {{gradient|#dfdfdf|#fcfcfc|bottom}}; border:1px solid #555;">{{#if:{{{format|}}}|"bold"|'''||}}{{{text|the button}}}{{#if:{{{format|}}}|bold|'''||}}</span><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 12:49, 24 May 2011
the button
[edit] Template documentation
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 "bold"button textbold
Alternatively, {{Button|button text}} also produces the button