Difference between revisions of "Template:SpecUIElement/MenuRow"
From Apache OpenOffice Wiki
m |
|||
(18 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly>| {{{text|}}} | ||
+ | | {{{sub-item|}}} | ||
+ | | {{{sub-sub-item|}}} | ||
+ | | {{{kbd|}}} | ||
+ | | {{{icon|}}} | ||
+ | | {{{comment|}}} | ||
+ | |-</includeonly><noinclude>This template is only useful together with the [[Template:SpecUIElement/MenuHeading|MenuHeading]] template. Use it to create, within a specification document, a table describing multiple menu items. | ||
+ | |||
+ | === Looks Like === | ||
+ | {| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #cccccc solid; border-collapse: collapse; width: 100%" | ||
+ | |- style="color:white; background-color:white" | ||
+ | {{SpecUIElement/MenuRow|text=dummy}} | ||
+ | |} | ||
+ | |||
+ | === 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>text</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 === | ||
+ | * [[Template:SpecUIElement/MenuHeading]] | ||
+ | * [[Template:SpecUIElement/Menu]] | ||
+ | [[Category:Specification Particle Templates]] | ||
+ | </noinclude> |
Latest revision as of 21:19, 28 November 2007
This template is only useful together with the MenuHeading template. Use it to create, within a specification document, a table describing multiple menu items.
Looks Like
dummy |
Parameters
Parameter Name | Parameter meaning |
text |
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.