模板:鍵盤按鈕/testcases

{{keypress/sandbox|A}}

Template:Key press/core/sandbox

{{keypress/sandbox|Caps Lock}}

Template:Key press/core/sandbox

{{keypress/sandbox|Ctrl|A}}

Template:Key press/core/sandbox+Template:Key press/core/sandbox

{{keypress/sandbox|Shift|Ctrl|A}}

Template:Key press/core/sandbox+Template:Key press/core/sandbox+Template:Key press/core/sandbox

{{keypress/sandbox|Shift|Enter|Cmd}}

Template:Key press/core/sandbox+Template:Key press/core/sandbox+Template:Key press/core/sandbox

{{keypress/sandbox|Opt|Tab}}

Template:Key press/core/sandbox+Template:Key press/core/sandbox

{{keypress/sandbox|Backspace}}

Template:Key press/core/sandbox

{{keypress/sandbox|Win}}

Template:Key press/core/sandbox

{{keypress/sandbox|Menu}}

Template:Key press/core/sandbox

Testing with too many parameters, should trigger the reporting into Category:Wikipedia keypress template parameter needs fixing:

{{keypress/sandbox|A|B|C|D|E|F|G|H}}

Template:Key press/core/sandbox+Template:Key press/core/sandbox+Template:Key press/core/sandbox+Template:Key press/core/sandbox+Template:Key press/core/sandbox

Testing wiki characters

編輯
{{keypress/sandbox|#}} {{keypress/sandbox|[[#]]}}

Template:Key press/core/sandbox Template:Key press/core/sandbox

{{keypress/sandbox|*}} {{keypress/sandbox|[[*]]}}

Template:Key press/core/sandbox Template:Key press/core/sandbox

{{keypress/sandbox|:}} {{keypress/sandbox|[[:]]}}

Template:Key press/core/sandbox Template:Key press/core/sandbox

{{keypress/sandbox|{{;}}}} {{keypress/sandbox|[[;]]}}

Template:Key press/core/sandbox Template:Key press/core/sandbox

{{keypress/sandbox|{{!}}}} {{keypress/sandbox|[[|]]}}

Template:Key press/core/sandbox Template:Key press/core/sandbox