4.60. row
4.60.1. Summary
Parameters: width
Positional parameters in same order.
Pass attribute hash as last to subroutine: no
Interpolates container text by default.
This is a container tag, i.e. [row] FOO [/row]. Nesting: NO
Invalidates cache: no
Called Routine:
ASP-like Perl call:
$Tag->row( { width => VALUE, }, BODY ) OR $Tag->row($width, $BODY); [row width]
Parameters | Description | Default |
width | DEFAULT_VALUE |
Attributes | Default |
interpolate | No |
reparse | Yes |
Other_Characteristics | |
Invalidates cache | no |
Container tag | Yes |
Has Subtags | No |
Nests | No |
Tag expansion example:
[row width] --- TODO: (tag result)
ASP-like Perl call:
$Tag->row( { width => VALUE_width }, $body );
or similarly with positional parameters,
$Tag->row(width, $attribute_hash_reference, $body);
4.60.2. Description
Formats text in tables. Intended for use in emailed reports or <PRE></PRE> HTML areas. The parameter nn gives the number of columns to use. Inside the row tag, [col param=value ...] tags may be used.
4.60.2.1. [col width=nn wrap=yes|no gutter=n align=left|right|input spacing=n]
Sets up a column for use in a [row]. This parameter can only be contained inside a [row nn] [/row] tag pair. Any number of columns (that fit within the size of the row) can be defined.
The parameters are:
width=nn The column width, I<including the gutter>. Must be supplied, there is no default. A shorthand method is to just supply the number as the I<first> parameter, as in [col 20]. gutter=n The number of spaces used to separate the column (on the right-hand side) from the next. Default is 2. spacing=n The line spacing used for wrapped text. Default is 1, or single-spaced. wrap=(yes|no) Determines whether text that is greater in length than the column width will be wrapped to the next line. Default is I<yes>. align=(L|R|I) Determines whether text is aligned to the left (the default), the right, or in a way that might display an HTML text input field correctly.
4.60.2.2. [/col]
Terminates the column field.