Template:Key/doc

From Official Factorio Wiki
< Template:Key
Revision as of 12:40, 27 August 2023 by Ickputzdirwech (talk | contribs) (initial documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

This template can be used to format key binds. For example {{key|ctrl}} results in CTRL.

Translations

This template supports translations for the following keys:

alt = {{Translation|ALT}}
shift = {{Translation|SHIFT}}
rmb = {{Translation|Right mouse button}}
lmb = {{Translation|Left mouse button}}
mmb = {{Translation|Middle mouse button}}
mwu = {{Translation|Mouse wheel up}}
mwd = {{Translation|Mouse wheel down}}
tab = {{Translation|TAB}}
numplus = {{Translation|Numpad +}}
numminus = {{Translation|Numpad -}}
esc = {{Translation|ESC}}
ctrl = {{Translation|CTRL}}
space = {{Translation|SPACE}}
enter = {{Translation|ENTER}}
grave = {{Translation|GRAVE}}
cmd = {{Translation|Command}}

For example {{key|ctrl}} on a German page would result in STRG.