Template:Button/doc
Sarna News
![Sarna.net News: Bad 'Mechs - Thresher Mk II](http://cfw.sarna.net/news/wp-content/uploads/2025/01/BM_ThresherMKII_fin-300x210.jpg)
- Bad 'Mechs - Thresher Mk II
- HEXTECH Wave 9 Review - Winding Rivers, Tall Walls, and Underground Tunnels
- Hired Steel and Making MechWarrior 5: Clans Cinematics with Constantin & Bernhard of TMC
- Your BattleTech News Round-Up For December, 2024
- Community Outreach - Caterwauling On CamoSpecs With Matt "00Dawg" Frederiksen
- Read more →
This is a documentation subpage for Template:Button. It may contain usage information, categories and other content that is not part of the original template page. |
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 w: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.)
If you need a clickable button, use {{Clickable button}}.
Usage[edit]
{{Button|text=button text}}
produces button text{{Button|text=button text|format=bold}}
produces button text{{Button|[[File:Wrench.svg]]|padTB=.1em|padLR=.1em}}
produces{{Button|text=button text|bgcolor=#EEF|bgcolor2=#BBE}}
produces button text[[target title|
{{Button|linked text}}
]]
produces linked text, and[https://en.wikipedia.org
{{Button|linked text}}
]
for linked text. {{clickable button 2}} is more suitable for that purpose though.
Alternatively, {{Button|button text}}
also produces button text
See also[edit]
{{Key press}}
– used to illustrate keystrokes, including key combinations (e.g. Ctrl+x){{Key top}}
– produces a similar visual effect, but includes more symbols and does not directly support key combos (e.g. ⇬ Caps Lock){{Kbd}}
– to indicate user input (of any kind) without making it look like keys or buttons