Difference between revisions of "Template:SpecUIElement/MenuRow"
From Apache OpenOffice Wiki
Line 8: | Line 8: | ||
<noinclude>Use this template, together with the [[Template:SpecUIElement/MenuRow|MenuHeading]] template, to create, within a specification document, a table describing multiple menu items. | <noinclude>Use this template, together with the [[Template:SpecUIElement/MenuRow|MenuHeading]] template, to create, within a specification document, a table describing multiple menu items. | ||
+ | |||
+ | === Structure === | ||
+ | {{SpecUIElement/MenuRow}}} | ||
+ | |||
+ | === Parameters === | ||
+ | {| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #cccccc solid; border-collapse: collapse; width: 100%" | ||
+ | |- style="background-color:#dddddd;" | ||
+ | || '''Parameter Name''' || '''Parameter meaning''' | ||
+ | |- | ||
+ | || <code>en-US</code> || the label (for locale en-US) of the menu item | ||
+ | |- | ||
+ | || <code>sub-item</code> || the label (for locale en-US) of the first-level sub item | ||
+ | |- | ||
+ | || <code>sub-sub-item</code> || the label (for locale en-US) of the second-level sub item | ||
+ | |- | ||
+ | || <code>kbd</code> || the keyboard shortcut for the menu item | ||
+ | |- | ||
+ | || <code>icon</code> || the icon to be used for the menu item | ||
+ | |- | ||
+ | || <code>comments</code> || comments on the menu item, usually directed to translators | ||
+ | |} | ||
+ | |||
+ | If any of the items is not present, it is defaulted to an empty string. | ||
=== See Also === | === See Also === |
Revision as of 14:24, 28 November 2007
Use this template, together with the MenuHeading template, to create, within a specification document, a table describing multiple menu items.
Structure
| 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.