From Terraria Wiki
Jump to navigation Jump to search
This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for templates to learn more.
See Template:Key/l10n for the localization of this template.
Template-info.svg Documentation The documentation below is transcluded from Template:Key/doc. (edit | history)

This templates is used to display representations of keystrokes.


{{key | <key to display> }}

The passed first unnamed parameter can be any text. Entering the numbers 1 or 2 will cause problems due to the localization system. Use the corresponding HTML entities &#49; and &#50;, respectively, instead.

There is also a number of parameter values which will cause a special, predefined display, listed below. These outputs are localized (Template:Key/l10n).

Code Result
Common game controls
{{key|use}} Use / Attack
{{key|open}} Open / Activate
{{key|throw}} Throw
{{key|inventory}} Inventory
{{key|up}} ▲ Up
{{key|down}} ▼ Down
{{key|left}} ◀ Left
{{key|right}} ▶ Right
{{key|jump}} Jump
{{key|hotbar}} 0–9
{{key|grapple}} Grapple
{{key|debug}} F7
{{key|txrx}} F8
{{key|lighting}} F9
{{key|fps}} F10
{{key|hud}} F11
{{key|chat}} Enter
{{key|heal}} Quick Heal
{{key|mheal}} Quick Mana
{{key|map}} Toggle Full Map
{{key|buff}} Quick Buff
{{key|as}} Auto Select
{{key|minimap}} Toggle Map Style
{{key|sc}} Smart Cursor
{{key|mount}} Quick Mount
Other common keys
{{key|shift}} ⇧ Shift
{{key|lshift}} ⇧ Left Shift
{{key|rshift}} ⇧ Right Shift
{{key|enter}} ↵ Enter
{{key|tab}} ↹ Tab
{{key|backspace}} ← Backspace
Mac-only keys
{{key|cmd}} Cmd
{{key|command}} Command
{{key|opt}} ⌥ Option
Non-Mac keys
{{key|super}} Super (also called "Windows" key)
{{key|menu}} ≣ Menu
Xbox Controller buttons
{{key|xb-lb}} LB (Left Bumper)
{{key|xb-rb}} RB (Right Bumper)
{{key|xb-lt}} Left Trigger
{{key|xb-rt}} Right Trigger
{{key|xb-back}} ◀ Back
{{key|xb-start}} ▶ Start
Examples for other undefined keys
{{key|B}} B
{{key|z}} z


The symbol list used by this template was derived from this list uploaded by Minecraft Wiki user Majr.