TSref/tableStyle
From TYPO3Wiki
| TSref/tableStyle |
|
||||
TypoScript This page is document in progress.
[edit]
tableStyle
This is used to style a table-tag. The input is wrapped by this table-tag
| Property: | Data type: | Description: | Default: |
| align | align /stdWrap | ||
| border | int /stdWrap | ||
| cellspacing | int /stdWrap | ||
| cellpadding | int /stdWrap | ||
| color.field | string | Set to fieldname from the $cObj->data-array | |
| color.default
color.1 color.2 | string | [default],[1],[2] = User defined | |
| params | <TABLE>-params |
[tsref:->tableStyle]
Example:
styles.content.tableStyle {
align.field = text_align
border.field = table_border
cellspacing.field = table_cellspacing
cellpadding = 1
color.field = table_bgColor
color.default = {$styles.content.tableStyle.color}
color.1 = {$styles.content.tableStyle.color1}
color.2 = {$styles.content.tableStyle.color2}
}
