Difference between revisions of "Template:Key press"
Jump to navigation
Jump to search
(copied from http://en.wikipedia.org/w/index.php?title=Template:Key_press&action=edit) |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{key press/core|{{{1}}}}}<!-- | + | <includeonly>{{key press/core|{{{1}}}}}<!-- |
-->{{#if:{{{2|}}}|+{{key press/core|{{{2}}}}}}}<!-- | -->{{#if:{{{2|}}}|+{{key press/core|{{{2}}}}}}}<!-- | ||
-->{{#if:{{{3|}}}|+{{key press/core|{{{3}}}}}}}<!-- | -->{{#if:{{{3|}}}|+{{key press/core|{{{3}}}}}}}<!-- | ||
-->{{#if:{{{4|}}}|+{{key press/core|{{{4}}}}}}}<!-- | -->{{#if:{{{4|}}}|+{{key press/core|{{{4}}}}}}}<!-- | ||
-->{{#if:{{{5|}}}|+{{key press/core|{{{5}}}}}}}<!-- | -->{{#if:{{{5|}}}|+{{key press/core|{{{5}}}}}}}<!-- | ||
− | -->{{#if:{{{6|}}}|[[Category:Wikipedia keypress template parameter needs fixing]]}}<noinclude> | + | -->{{#if:{{{6|}}}|[[Category:Wikipedia keypress template parameter needs fixing]]}}</includeonly><noinclude> |
+ | * Use the text <nowiki>{{keypress|Ctrl|A}}</nowiki> to generate the style: {{keypress|Ctrl|A}}. | ||
− | {{ | + | * Use <nowiki>{{command}}</nowiki> to generate the character: {{command}}, such as <nowiki>{{keypress|{{command}}}}</nowiki> for {{keypress|{{command}}}}. |
− | < | + | |
+ | * To use an equals sign in a keypress template: <nowiki>{{keypress|{{=}}}} </nowiki> which gives: {{keypress|{{=}}}} | ||
</noinclude> | </noinclude> |
Latest revision as of 04:31, 21 October 2010
- Use the text {{keypress|Ctrl|A}} to generate the style: Ctrl+A.
- Use {{command}} to generate the character: ⌘, such as {{keypress|{{command}}}} for ⌘.
- To use an equals sign in a keypress template: {{keypress|{{=}}}} which gives: =