Template talk:Keypress: Difference between revisions

From Vintage Story Wiki
m (it does, in fact, get worse)
Line 4: Line 4:


Present in the CSS:
Present in the CSS:
* Key IDs {{ic|key-left}}, {{ic|key-up}}, {{ic|key-right}}, {{ic|key-down}} with special border conditions {{keypress|←|keyID=key-left}} {{keypress|↑|keyID=key-up}} {{keypress|→|keyID=key-right}} {{keypress|↓|keyID=key-down}} I think they were meant to be used with '''images''' of the arrows
* Key IDs {{ic|key-left}}, {{ic|key-up}}, {{ic|key-right}}, {{ic|key-down}} with special border conditions {{keypress|←|keyID=key-left}} {{keypress|↑|keyID=key-up}} {{keypress|→|keyID=key-right}} {{keypress|↓|keyID=key-down}} I think they were meant to be used with '''images''' of the arrows. One of these is 1px shorter than the rest.
* Key ID {{ic|esc}} {{keypress|esc|keyID=esc}}, the only one that doesn't begin with {{ic|key-}}
* Key ID {{ic|esc}} {{keypress|esc|keyID=esc}}, the only one that doesn't begin with {{ic|key-}}
* the fact that we have both a class {{ic|key key-fn}} and an ID {{ic|key-fn}} and they look different {{keypress|fn|keyClass=key-fn}} {{keypress|fn|keyID=key-fn}}
* the fact that we have both a class {{ic|key key-fn}} and an ID {{ic|key-fn}} and they look different {{keypress|fn|keyClass=key-fn}} {{keypress|fn|keyID=key-fn}}