Template:Key: Difference between revisions
No edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
-->{{#if:{{{9|}}}|{{{chain eighth|{{{chain|+}}}}}}{{key/core|{{{9}}}}}}}<!-- | -->{{#if:{{{9|}}}|{{{chain eighth|{{{chain|+}}}}}}{{key/core|{{{9}}}}}}}<!-- | ||
-->{{#if:{{{10|}}}|{{{chain ninth|{{{chain|+}}}}}}{{key/core|{{{10}}}}}}}</includeonly><noinclude> | -->{{#if:{{{10|}}}|{{{chain ninth|{{{chain|+}}}}}}{{key/core|{{{10}}}}}}}</includeonly><noinclude> | ||
=== Description === | |||
This is the "{{PAGENAME}}" template. This template is used to imitate keyboard buttons. It should be transcluded in the following format: | This is the "{{PAGENAME}}" template. This template is used to imitate keyboard buttons. It should be transcluded in the following format: | ||
<pre> | <pre> | ||
Line 15: | Line 16: | ||
=== Parameters === | === Parameters === | ||
;1 | ;1 ''(unnamed parameter)'' | ||
: Keyboard button, | : Keyboard button, separates each entry into its own button (e.g. Ctrl, Alt, I, S, 1, etc.). Max. 10 parameters. | ||
== Examples == | == Examples == |
Latest revision as of 21:50, 19 June 2024
Description
This is the "Key" template. This template is used to imitate keyboard buttons. It should be transcluded in the following format:
{{key|<first button>|<second>|<third>|<etc.>}}
Parameters
- 1 (unnamed parameter)
- Keyboard button, separates each entry into its own button (e.g. Ctrl, Alt, I, S, 1, etc.). Max. 10 parameters.
Examples
- 1 is produced by
{{key|1}}
- I is produced by
{{key|I}}
- Alt+1 is produced by
{{key|Alt|1}}
- Ctrl+Alt+Del is produced by
{{key|Ctrl|Alt|Del}}
- I is produced by
[[Options#Hotkeys|{{key|I}}]]