Difference between revisions of "Template:Kbd"

From Space Engineers Wiki
Jump to: navigation, search
(kbd html element and styling)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
<onlyinclude><kbd style="background:#EEEEEE; border: 1px solid darkgray; border-radius: 4px; padding: 0.2em">{{#switch:{{lc:{{{1}}}}}
 
<onlyinclude><kbd style="background:#EEEEEE; border: 1px solid darkgray; border-radius: 4px; padding: 0.2em">{{#switch:{{lc:{{{1}}}}}
|left=<span style="font-size: 2em">←</span>
+
|left=<span style="font-size: 2em; line-height: 0.5em">←</span>
|right=<span style="font-size: 2em">→</span>
+
|right=<span style="font-size: 2em; line-height: 0.5em">→</span>
|up=<span style="font-size: 2em">↑</span>
+
|up=<span style="font-size: 2em; line-height: 0.5em">↑</span>
|down=<span style="font-size: 2em">↓</span>
+
|down=<span style="font-size: 2em; line-height: 0.5em">↓</span>
 
|enter=↵&nbsp;Enter
 
|enter=↵&nbsp;Enter
 
|tab=↹&nbsp;Tab
 
|tab=↹&nbsp;Tab
 
|shift=⇧&nbsp;Shift
 
|shift=⇧&nbsp;Shift
 +
|backspace=←&nbsp;Backspace
 
|#default={{{1}}}}}</kbd></onlyinclude>
 
|#default={{{1}}}}}</kbd></onlyinclude>
  

Latest revision as of 12:45, 29 August 2023

{{{1}}}

Inserts a <kbd>Key</kbd> element with some basic styling.