Difference between revisions of "Template:SpecUIElement/MenuHeading"
From Apache OpenOffice Wiki
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | <includeonly>'''Menu Item(s)''' | ||
{| border="2" cellpadding="4" cellspacing="0" style="margin: 1em 1em 1em 0; border: 1px #cccccc solid; border-collapse: collapse; width: 100%" | {| 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;" | |- style="background-color:#dddddd;" | ||
|| '''Item''' || '''Sub Item''' || '''Sub Item''' || '''KBD Shortcut''' || '''Icon''' || '''Comment''' | || '''Item''' || '''Sub Item''' || '''Sub Item''' || '''KBD Shortcut''' || '''Icon''' || '''Comment''' | ||
+ | |-</includeonly> | ||
+ | |||
+ | <noinclude>Use this template, together with the [[Template:SpecUIElement/MenuRow|MenuRow]] template, to create, within a specification document, a table describing multiple menu items. | ||
+ | |||
+ | === Looks Like === | ||
+ | |||
+ | {{SpecUIElement/MenuHeading}} | ||
+ | |} | ||
+ | |||
+ | === Example === | ||
+ | {{SpecUIElement/MenuHeading}} | ||
+ | {{SpecUIElement/MenuRow|text=File|comment=This is the top level entry point, in the main menu bar, for all file related actions.}} | ||
+ | {{SpecUIElement/MenuRow|text=|sub-item=Open|kbd=Ctrl+O|comment=invokes the [[File Open Dialog]], letting the user choose a document to load in OpenOffice.org.}} | ||
+ | {{SpecUIElement/MenuRow|text=|sub-item=Save|kbd=Ctrl+S|comment=saves the current document. Only available when the document is actually modified.}} | ||
+ | |} | ||
+ | |||
+ | was produced by this code: | ||
+ | <pre> | ||
+ | {{SpecUIElement/MenuHeading}} | ||
+ | {{SpecUIElement/MenuRow|text=File|comment=This is the top level entry point, in the main menu bar, for all file related actions.}} | ||
+ | {{SpecUIElement/MenuRow|text=|sub-item=Open|kbd=Ctrl+O|comment=invokes the [[File Open Dialog]], letting the user choose a document to load in OpenOffice.org.}} | ||
+ | {{SpecUIElement/MenuRow|text=|sub-item=Save|kbd=Ctrl+S|comment=saves the current document. Only available when the document is actually modified.}} | ||
+ | |} | ||
+ | </pre> | ||
+ | |||
+ | === Parameters === | ||
+ | |||
+ | n/a | ||
+ | |||
+ | === See Also === | ||
+ | * [[Template:SpecUIElement/MenuRow]] | ||
+ | * [[Template:SpecUIElement/Menu]] | ||
+ | [[Category:Specification Particle Templates]] | ||
+ | </noinclude> |
Latest revision as of 21:28, 28 November 2007
Use this template, together with the MenuRow template, to create, within a specification document, a table describing multiple menu items.
Looks Like
Menu Item(s)
Item | Sub Item | Sub Item | KBD Shortcut | Icon | Comment |
Example
Menu Item(s)
Item | Sub Item | Sub Item | KBD Shortcut | Icon | Comment |
File | This is the top level entry point, in the main menu bar, for all file related actions. | ||||
Open | Ctrl+O | invokes the File Open Dialog, letting the user choose a document to load in OpenOffice.org. | |||
Save | Ctrl+S | saves the current document. Only available when the document is actually modified. |
was produced by this code:
{{SpecUIElement/MenuHeading}} {{SpecUIElement/MenuRow|text=File|comment=This is the top level entry point, in the main menu bar, for all file related actions.}} {{SpecUIElement/MenuRow|text=|sub-item=Open|kbd=Ctrl+O|comment=invokes the [[File Open Dialog]], letting the user choose a document to load in OpenOffice.org.}} {{SpecUIElement/MenuRow|text=|sub-item=Save|kbd=Ctrl+S|comment=saves the current document. Only available when the document is actually modified.}} |}
Parameters
n/a