Template:Key: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Added outline and background for keys)
(Added cmd)
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<kbd class="keyboard-key nowrap" style="border: 1px solid #aaa; background-color: #f9f9f9; border-radius: 0.2em; box-shadow: 0.1em 0.1em 0.2em rgba(0, 0, 0, 0.1); padding: 0.1em 0.3em; font-family: inherit; font-size: 0.85em;">{{#switch: {{{1}}}
<kbd class="keyboard-key nowrap">{{#switch: {{{1}}}
  | alt = ALT
  | alt = {{Translation|ALT}}
  | shift = SHIFT
  | shift = {{Translation|SHIFT}}
  | rmb = Right mouse button
  | rmb = {{Translation|Right mouse button}}
  | lmb = Left mouse button
  | lmb = {{Translation|Left mouse button}}
  | mmb = Middle mouse button
  | mmb = {{Translation|Middle mouse button}}
  | mwu = Mouse wheel up
  | mwu = {{Translation|Mouse wheel up}}
  | mwd = Mouse wheel down
  | mwd = {{Translation|Mouse wheel down}}
  | tab = TAB
  | tab = {{Translation|TAB}}
  | numplus = PAD +
  | numplus = {{Translation|Numpad +}}
  | numminus = PAD -
  | numminus = {{Translation|Numpad -}}
  | esc = ESC
  | esc = {{Translation|ESC}}
  | ctrl = CTRL
  | ctrl = {{Translation|CTRL}}
  | space = SPACE
  | space = {{Translation|SPACE}}
  | enter = ENTER
  | enter = {{Translation|ENTER}}
  | grave = GRAVE
  | grave = {{Translation|GRAVE}}
| cmd = {{Translation|Command}}
  | {{{1}}}
  | {{{1}}}
}}</kbd>
}}</kbd>

Revision as of 09:55, 10 May 2021

{{{1}}}