Difference between revisions of "Template:Button"
From LFS Manual
Jump to navigationJump to searchm |
m (use kbd tag) |
||
Line 1: | Line 1: | ||
<!-- | <!-- | ||
− | -->< | + | --><kbd class="nowrap" style="font-family: inherit; color: {{#ifeq:{{{2|}}}|light|black|white}}; padding: 0px 6px; border: 0; background-color: {{#ifeq:{{{2|}}}|light|rgb(200,200,200,0.4)|{{#ifeq:{{{2|}}}|green|rgb(117 180 76)|rgb(5,0,0,0.3)}}}}; border-radius: 4px; font-weight: bold;">{{{text|{{{1}}}}}}</kbd><!-- |
--><noinclude> | --><noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 10:38, 3 December 2023
{{{1}}}
Template documentation
This template allows you to illustrate LFS buttons in the current style. For the old-styled buttons, see template: Old button.
Examples
Markup | Renders as |
---|---|
{{button|Display}} |
Display |
Markup | Renders as |
---|---|
{{button|in car|light}} |
in car |
Markup | Renders as |
---|---|
{{button|in car|green}} |
in car |
Markup | Renders as |
---|---|
{{button|Button with (parentheses)}} |
Button with (parentheses) |