Template:Kbd: Difference between revisions
From Space Station 14 Wiki
m (1 revision imported) |
(cat) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<kbd {{#if:{{{class|}}}|class="{{{class}}}"}} {{#if:{{{id|}}}|id="{{{id}}}"}} style="background:# | <kbd | ||
{{#if:{{{class|}}}|class="{{{class}}}"}} | |||
{{#if:{{{id|}}}|id="{{{id}}}"}} | |||
style=" | |||
background:#1b1e1f; | |||
color: #e8e6e3; | |||
border: 1px solid #353a3c; | |||
{{#if:{{{spacing|}}} | |||
| padding-left:{{{padding|0.2em}}}; | |||
padding-right:{{{padding|0.2em}}}; | |||
| letter-spacing:0.05em; | |||
padding-left:0.25em; | |||
padding-right:0.2em; | |||
}} | |||
{{#if:{{{style|}}}|{{{style}}}}}" | |||
{{#if:{{{lang|}}}|lang="{{{lang}}}"}} | |||
{{#if:{{{title|}}}|title="{{{title}}}"}} | |||
>{{{1}}}</kbd><noinclude> | |||
''Taken from https://en.wikipedia.org/wiki/Template:Kbd'' | |||
{{Documentation}} | {{Documentation}} | ||
[[Category:HTML typing-aid templates]] | |||
[[Category:Templates without documentation pages]] | |||
</noinclude> | </noinclude> |