Template:SpecUIElement/Menu

From Apache OpenOffice Wiki
Revision as of 20:48, 28 November 2007 by Frank Schoenheit (Talk | contribs)

Jump to: navigation, search


Use this template to create, within a specification document, a table describing your menu items.

Looks Like

Menu Item(s)

Item Sub Item Sub Item KBD Shortcut Icon Comment
invalid - en-US label must be specified


Parameters

Parameter Name Parameter meaning
en-US the label (for locale en-US) of the menu item
sub-item the label (for locale en-US) of the first-level sub item
sub-sub-item the label (for locale en-US) of the second-level sub item
kbd the keyboard shortcut for the menu item
icon the icon to be used for the menu item
comments comments on the menu item, usually directed to translators

If any of the items is not present, it is defaulted to an empty string. Exception is en-US, which must be specified - if it isn't, a warning will be displayed.

Example

Menu Item(s)

Item Sub Item Sub Item KBD Shortcut Icon Comment
invalid - en-US label must be specified This is the top level entry point, in the main menu bar, for all file related actions.


was produced by this code:

{{SpecUIElement/Menu|en-US=File|comment=This is the top level entry point, in the main menu bar, for all file related actions.}}

See Also

Personal tools