Difference between revisions of "Mediawiki Formatting"

From Wikicliki
Jump to: navigation, search
(key press)
Line 1: Line 1:
 
 
 
== key press ==
 
== key press ==
  
Line 30: Line 28:
 
* {{tc|key press|Win}} → {{key press|Win}}
 
* {{tc|key press|Win}} → {{key press|Win}}
 
* {{tc|key press|Menu}} → {{key press|Menu}}
 
* {{tc|key press|Menu}} → {{key press|Menu}}
 +
 +
[[Template:Key press/doc]]
  
 
== tables ==
 
== tables ==
  
 
https://www.mediawiki.org/wiki/Help:Tables
 
https://www.mediawiki.org/wiki/Help:Tables

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

Template:Key press/doc

tables

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