Difference between revisions of "Template:SpecUIElement/MenuRow"
From Apache OpenOffice Wiki
m |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>| {{{ | + | <includeonly>| {{{text|}}} |
| {{{sub-item|}}} | | {{{sub-item|}}} | ||
| {{{sub-sub-item|}}} | | {{{sub-sub-item|}}} | ||
Line 5: | Line 5: | ||
| {{{icon|}}} | | {{{icon|}}} | ||
| {{{comment|}}} | | {{{comment|}}} | ||
− | |-</includeonly> | + | |-</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. |
− | |||
− | <noinclude>This template is only useful together with the [[Template:SpecUIElement/ | ||
=== Looks Like === | === Looks Like === | ||
− | {{SpecUIElement/MenuRow}}} | + | {| 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 === | === Parameters === | ||
Line 17: | Line 18: | ||
|| '''Parameter Name''' || '''Parameter meaning''' | || '''Parameter Name''' || '''Parameter meaning''' | ||
|- | |- | ||
− | || <code> | + | || <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-item</code> || the label (for locale en-US) of the first-level sub item | ||
Line 35: | Line 36: | ||
* [[Template:SpecUIElement/MenuHeading]] | * [[Template:SpecUIElement/MenuHeading]] | ||
* [[Template:SpecUIElement/Menu]] | * [[Template:SpecUIElement/Menu]] | ||
+ | [[Category:Specification Particle Templates]] | ||
</noinclude> | </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.