Template:Shortcut

From Audacity Wiki
Revision as of 15:55, 12 September 2018 by James (talk | contribs) (Restore 36577 now that we have string functions.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

An example here: CTRL + A. The idea is to represent shortcuts. This has a box round it just as kbrd does, but the colour is purple rather than white. If we want different colours we can, e.g. CTRL + A gives the old darker purple we used to have before we added the box. The feature now also supports showing the Mac symbol for command.

More Examples

Standard example

{{shortcut|Ctrl + Alt + Z}}

Ctrl + Alt + Z


Example using Cmd

{{shortcut|Cmd + Z}}

⌘ + Z


If the text is empty, then the format box is omitted too.

ABC{{shortcut|}}DEF

ABCDEF


Example with a different colour.

{{shortcut|Ctrl + Alt + Z|a0c0a0}}

Ctrl + Alt + Z