Template:Keypress/core

From OpenTTD
Jump to: navigation, search

{{{1}}}

Usage

{{keypress/core|n1|back=|font=}}

n1
is the key name.
  • this template enforces first letter capitalization and certain key names.
back
is optionally the key colour.
  • defaut is whitesmoke. border colour not variable.
font
is optionally the CSS font-style and font-variant, in that order.
  • default is small-caps. other variants include include {normal, inherit, small-caps}. inherit does not work with all browsers when specified.


{{keypress/core|caps lock|meta|back=slategrey|font="Everson Mono" normal}} Caps Lock

external link

  • [1] (David Göthberg,Edokter,SMcCandish,et all.) - from which this was adapted.
Notice.png

Note
This template is used by {{template:keypress}}.

Personal tools