From Audacity Wiki
Revision as of 14:37, 17 July 2007 by Suf (talk | contribs) (Correcting a error in the usage examples)
Jump to: navigation, search

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.

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 C:\Program Files\Audacity, or for programming code. For file paths and code, red 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.

<span style="color:red"><code><nowiki>$run{7[[xparameter]]}</nowiki></code></span>



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.