Difference between revisions of "Template:Menu"

From Audacity Wiki
Jump to: navigation, search
m (Correcting a error in the usage examples)
m (Unifying descriptive text)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
The '''Menu Template''' can be used to format a string of text in a consistent way across the Wiki with a background and foreground colour which will make it stand out amongst surrounding text. It should be used only for '''menu paths''' (either in programs or in operating system dialogues), for emphasising the route to the menu item the user needs to reach.  
+
The '''''Menu'' Template''' can be used to format a string of text in a consistent way across the Wiki, with a background and foreground colour which will make it stand out amongst surrounding text. This template is intended for '''menu paths''' (either in programs or in operating system dialogues), for emphasising the route to the menu item the user needs to reach. ''Menu'' Template can be used for any program or part of an operating system such as a control panel. It can be used for menu selections (i.e. "clicking" on drop down items or tab selectors) as well as for keyboard short cuts.
  
Menu Template can be used for any program or part of an operating system such as a control panel. It should not be used for file paths like <span style="color:red"> C:\Program Files\Audacity</span>, or for <span style="color:red">programming code</span>. For file paths and code,<span style="color:red"> red</span> is suggested as a suitable colour. Programming code can be enclosed inside font, code and nowiki tags to give a grey background for the code e.g.<br><br>
+
'''''NOTE:''''' This template should be used '''only for ''menu paths''''' (either in programs or in operating system dialogues). ''(Other templates are available for other uses, see [[Templates]].)''
<nowiki>
 
<span style="color:red"><code><nowiki>$run{7[[xparameter]]}</nowiki></nowiki></code></span>
 
<br><br>
 
produces:<br><br>
 
<span style="color:red"><code><nowiki>$run{7[[xparameter]]}</nowiki></code></span>
 
  
  

Revision as of 17:33, 17 July 2007

The Menu Template can be used to format a string of text in a consistent way across the Wiki, with a background and foreground colour which will make it stand out amongst surrounding text. This template is intended for menu paths (either in programs or in operating system dialogues), for emphasising the route to the menu item the user needs to reach. Menu Template can be used for any program or part of an operating system such as a control panel. It can be used for menu selections (i.e. "clicking" on drop down items or tab selectors) as well as for keyboard short cuts.

NOTE: This template should be used only for menu paths (either in programs or in operating system dialogues). (Other templates are available for other uses, see Templates.)


Usage of Menu Template:

{{menu|text to be formatted}}

For example, typing this:

Click {{menu|View > Toolbars > Show "Meter Toolbar"}}.

will cause the following to be displayed:

Click View > Toolbars > Show "Meter Toolbar".



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

{{{1}}}