Template:Key press: Difference between revisions

Jump to navigation Jump to search
Trying to make it take combinations, e.g. Ctrl+A
(Greyer key cap)
(Trying to make it take combinations, e.g. Ctrl+A)
Line 1: Line 1:
<span style="border: 1px solid #777; padding: 1px 3px; background: #eee; font-family: inherit; font-size: 0.85em;">{{{1}}}</span><noinclude>
<span style="border: 1px solid #777; padding: 1px 3px; background: #eee; font-family: inherit; font-size: 0.85em;">{{{1}}}</span>{{#if:{{{2|}}}|+<span style="border: 1px solid #777; padding: 1px 3px; background: #eee; font-family: inherit; font-size: 0.85em;">{{{2}}}</span>|}}{{#if:{{{3|}}}|+<span style="border: 1px solid #777; padding: 1px 3px; background: #eee; font-family: inherit; font-size: 0.85em;">{{{3}}}</span>|}}{{#if:{{{4|}}}|+<span style="border: 1px solid #777; padding: 1px 3px; background: #eee; font-family: inherit; font-size: 0.85em;">{{{4}}}</span>|}}<noinclude>
{{Informative template|1=
{{Informative template|1=
__NOTOC__
__NOTOC__
Line 6: Line 6:


== Usage ==
== Usage ==
  <nowiki>{{</nowiki>'''key press'''<nowiki>|</nowiki>''caption''<nowiki>}}</nowiki>
  <nowiki>{{</nowiki>'''key press'''<nowiki>|</nowiki>''caption''<nowiki>|</nowiki>''caption''<nowiki>|</nowiki>''caption''<nowiki>|</nowiki>''caption''<nowiki>}}</nowiki>


In some cases workarounds will be required. One of them are for example the caption {{key press|{{!}}}} which would require you to insert <code><nowiki>{{!}}</nowiki></code> instead of <code>{{!}}</code>, since using a "{{!}}" inside a template will break it.
In some cases workarounds will be required. One of them are for example the caption {{key press|{{!}}}} which would require you to insert <code><nowiki>{{!}}</nowiki></code> instead of <code>{{!}}</code>, since using a "{{!}}" inside a template will break it.
== Examples ==
== Examples ==
  The key combination <nowiki>{{</nowiki>key press<nowiki>|</nowiki>Ctrl<nowiki>}}</nowiki>+<nowiki>{{</nowiki>key press<nowiki>|</nowiki>Alt<nowiki>}}</nowiki>+<nowiki>{{</nowiki>key press<nowiki>|</nowiki>Del<nowiki>}}</nowiki> is sometimes called "The Vulcan neck-pinch".
  The key combination <nowiki>{{</nowiki>key press<nowiki>|</nowiki>Ctrl<nowiki>|</nowiki>Alt<nowiki>|</nowiki>Del<nowiki>}}</nowiki> is sometimes called "The Vulcan neck-pinch", and <nowiki>{{</nowiki>key press<nowiki>|</nowiki>Ctrl<nowiki>|</nowiki>A<nowiki>}}</nowiki> usually turns on the autopilot.


The key combination {{key press|Ctrl}}+{{key press|Alt}}+{{key press|Del}} is sometimes called "The Vulcan neck-pinch".
The key combination {{key press|Ctrl|Alt|Del}} is sometimes called "The Vulcan neck-pinch", and {{key press|Ctrl|A}} usually turns on the autopilot.


== Known issues ==
== Known issues ==

Navigation menu