Difference between revisions of "Mediawiki Formatting"

From Wikicliki
Jump to: navigation, search
(key press)
(key press)
Line 2: Line 2:
  
 
== key press ==
 
== key press ==
 +
 +
I installed the key press template. This template currently handles up to 10 key name parameters, which should be more than enough to accommodate for any possible combination of simultaneous keystrokes.
 +
 +
Example
 +
: {{tc|key press|A}} → {{key press|A}}
 +
 +
To illustrate keystroke combinations, just use extra parameters:
 +
: {{tc|key press|Alt|P}} → {{key press|Alt|P}}
 +
: {{tc|key press|Ctrl|Alt|Del}} → {{key press|Ctrl|Alt|Del}}
 +
 
* {{tc|key press|Shift}} → {{key press|Shift}}
 
* {{tc|key press|Shift}} → {{key press|Shift}}
 
* {{tc|key press|Tab}} → {{key press|Tab}}
 
* {{tc|key press|Tab}} → {{key press|Tab}}

Revision as of 22:27, 26 January 2017


key press

I installed the key press template. This template currently handles up to 10 key name parameters, which should be more than enough to accommodate for any possible combination of simultaneous keystrokes.

Example

{{key press|A}}A

To illustrate keystroke combinations, just use extra parameters:

{{key press|Alt|P}}Alt+P
{{key press|Ctrl|Alt|Del}}Ctrl+Alt+Del
  • {{key press|Shift}}⇧ Shift
  • {{key press|Tab}}Tab ↹
  • {{key press|Enter}}↵ Enter
  • {{key press|Option}}⌥ Option
  • {{key press|Opt}}⌥ Opt
  • {{key press|Command}}⌘ Command
  • {{key press|Cmd}}⌘ Cmd
  • {{key press|Caps Lock}}⇪ Caps Lock
  • {{key press|Scroll Lock}}Scroll Lock
  • {{key press|Up}}
  • {{key press|Down}}
  • {{key press|Left}}
  • {{key press|Right}}
Windows key and Menu key
Old-style Windows key

There are no characters for the Windows key and Menu key. So this template shows approximate characters for them, namely the 'SQUARED PLUS' and 'STRICTLY EQUIVALENT TO' from the Mathematical Operators block:

  • {{key press|Win}}⊞ Win
  • {{key press|Menu}}≣ Menu

tables

https://www.mediawiki.org/wiki/Help:Tables