Difference between revisions of "Template:Shortcut"

From Audacity Wiki
Jump to: navigation, search
(change to match manual wiki)
(matches Manual; depends on shortcut css class)
Line 26: Line 26:
 
will cause the following to be displayed:
 
will cause the following to be displayed:
  
<span style="background-color:#DDDDDD;color:black;font-weight: bold; font-style:italic">CTRL +V</span>
+
<span class="shortcut">CTRL +V</span>
  
 
[[Category:Templates]]
 
[[Category:Templates]]
Line 32: Line 32:
 
''Ignore the following, it's only a representation of formatting and a parameter dummy.''
 
''Ignore the following, it's only a representation of formatting and a parameter dummy.''
  
</noinclude><span style="background-color:#DDDDDD;color:black;font-weight: bold; font-style:italic">{{{1}}}</span>
+
</noinclude><span class="shortcut">{{{1}}}</span>

Revision as of 15:19, 11 May 2012

The Shortcut Template formats a string of text defining a Keyboard Shortcut with a standard background colour to make it stand out amongst the surrounding text. Keyboard shortcuts are key presses which access menu items and/or perform actions in programs.


Purpose

This formatting can be used for shortcuts in any program (not just Audacity) or for those in operating systems. Examples of such shortcuts are:

  • CTRL + A
  • ALT + Z
  • CTRL + SHIFT + X
  • CMD + F (Mac computers)

For more details of Audacity keyboard shortcuts, please see Keyboard Layouts.


NOTE: This template should be used only for keyboard shortcuts. Other templates are available for other uses, see Templates.


Usage of Shortcut Template:

{{shortcut|text to be formatted}}

For example, typing this:

{{shortcut|CTRL + V}}

will cause the following to be displayed:

CTRL +V


Ignore the following, it's only a representation of formatting and a parameter dummy.

{{{1}}}