Template:Key: Difference between revisions
Jump to navigation
Jump to search
TeamSpecBot (talk | contribs) Template: keyboard key |
TeamSpec theme: colours move from inline styles to MediaWiki:Common.css classes |
||
| Line 1: | Line 1: | ||
<includeonly><kbd style="display:inline-block | <includeonly><kbd class="ts-key" style="display:inline-block;padding:0 5px;margin:0 1px;font-family:monospace;font-size:88%;line-height:1.5;white-space:nowrap;">{{{1|?}}}</kbd></includeonly><noinclude> | ||
Shows a keyboard key or mouse button as a small key cap. | Shows a keyboard key or mouse button as a small key cap. | ||
Latest revision as of 08:01, 20 October 2026
Shows a keyboard key or mouse button as a small key cap.
Usage
{{Key|Ctrl}}+{{Key|Z}}
gives Ctrl+Z.
Parameters
1: the text on the key, for exampleShift,F1,Numpad 7orRight mouse.