Difference between revisions of "Template:SpecUIElementRow"
From Apache OpenOffice Wiki
Line 2: | Line 2: | ||
| style="vertical-align:top;" | {{{type|}}} | | style="vertical-align:top;" | {{{type|}}} | ||
| {{{property|}}} | | {{{property|}}} | ||
− | | {{{value|<span style="color:#ff0000;">invalid - | + | | {{{value|<span style="color:#ff0000;">invalid - the property vallue must be specified</span>}}} |
| {{{comment|}}}</includeonly><noinclude>This template is only useful together with the [[Template:SpecUIElementHeading|SpecUIElementHeading]] template. Use it to create, within a specification document, a table describing one or more user interface elements in a dialog. | | {{{comment|}}}</includeonly><noinclude>This template is only useful together with the [[Template:SpecUIElementHeading|SpecUIElementHeading]] template. Use it to create, within a specification document, a table describing one or more user interface elements in a dialog. | ||
Line 8: | Line 8: | ||
{| 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="color:white; background-color:white" | |- style="color:white; background-color:white" | ||
− | {{SpecUIElementRow|type=Button|text=Open|comment=opens the selected file}} | + | {{SpecUIElementRow|type=Button|property=Label|text=Open|comment=opens the selected file}} |
|} | |} | ||
Revision as of 09:56, 22 January 2008
This template is only useful together with the SpecUIElementHeading template. Use it to create, within a specification document, a table describing one or more user interface elements in a dialog.
Looks Like
Button | Label | invalid - the property vallue must be specified | opens the selected file |
Parameters
Parameter Name | Parameter meaning |
type |
the type of the UI element. Might be empty, in this case the row describes a property of an element which started in one of the previous rows of the table |
propertye |
the property which is described in this table row |
value |
the value of the property |
comments |
comments on the property/value, usually directed to translators |
text
must be present, else an error message will be shown in the respective table cell.