Template:Kbd: Difference between revisions
Jump to navigation
Jump to search
>SMcCandlish (needs padding left to match what letter-spacing automatically does on the right; needs option to turn off the spacing, too.) |
>SMcCandlish (woops, got the if test backward) |
||
Line 1: | Line 1: | ||
<kbd style="letter-spacing:0.1em; {{#if:{{{spacing|}}}|background:#EEEEEE; padding-left:0.1em; | <kbd style="letter-spacing:0.1em; {{#if:{{{spacing|}}}||background:#EEEEEE; padding-left:0.1em;}}">{{{1}}}</kbd><noinclude> | ||
<!--Categories and interwikis go near the bottom of the /doc page.--> | <!--Categories and interwikis go near the bottom of the /doc page.--> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |