Difference between revisions of "Template:SpecUIElement/LabelRow"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>|-
+
<includeonly>{{SpecUIElementRow|type=Label|property=Text|value={{{text}}}|comment={{{comment|}}}}}</includeonly><noinclude>Use this template to create, within a table which you started with the [[Template:SpecUIElementHeading|SpecUIElementHeading]] template, a table row describing a label.
| style="vertical-align:top;" | ''' Text'''
+
| {{{text|<span style="color:#ff0000;">invalid - en-US text must be specified</span>}}}
+
| {{{comment|}}}
+
|}</includeonly><noinclude>This template is only useful together with the [[Template:SpecUIElement/LabelHeading|LabelHeading]] template. Use it to create, within a specification document, a table describing multiple labels in a dialog.
+
  
 
=== Looks Like ===
 
=== Looks Like ===
 
{| 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"
{{SpecUIElement/LabelRow|text=dummy}}
+
{{SpecUIElement/LabelRow|text=Some label text}}
 
|}
 
|}
  
=== Parameters ===
+
=== Usage ===
 +
<pre>{{SpecUIElement/LabelRow|text=Some label text}}</pre>
 +
==== Parameters ====
 
{| 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;"
 
|| '''Parameter Name''' || '''Parameter meaning'''
 
|| '''Parameter Name''' || '''Parameter meaning'''
 
|-
 
|-
|| <code>text</code> || the label (for locale en-US) of the label
+
| style="background-color:#F8F8F8;" | text || the text (for locale en-US) of the label
 
|-
 
|-
|| <code>comments</code> || comments on the label, usually directed to translators
+
| style="background-color:#F8F8F8;" | comments || comments on the button/text, usually, but not necessarily, directed to translators
 
|}
 
|}
 
<code>text</code> must be present, else an error message will be shown in the respective table cell.
 
  
 
=== See Also ===
 
=== See Also ===
* [[Template:SpecUIElement/LabelHeading]]
+
* [[Template:SpecUIElementHeading]]
* [[Template:SpecUIElement/Label]]
+
 
[[Category:Specification Particle Templates]]
 
[[Category:Specification Particle Templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 14:43, 24 January 2008

Use this template to create, within a table which you started with the SpecUIElementHeading template, a table row describing a label.

Looks Like

Label Text Some label text

Usage

{{SpecUIElement/LabelRow|text=Some label text}}

Parameters

Parameter Name Parameter meaning
text the text (for locale en-US) of the label
comments comments on the button/text, usually, but not necessarily, directed to translators

See Also

Personal tools