TSRef - TypoScript Reference
5.1.9. textStyle
This is used to style text with a bunch of standard options + some site-specific.
|
Property: |
Data type: |
Description: |
Default: |
|---|---|---|---|
|
align.field |
align |
Set to fieldname from the $cObj->data-array |
|
|
face.field
|
string |
Set to fieldname from the $cObj->data-array
[1] = "Times New Roman"; [2] = "Verdana,Arial,Helvetica,Sans serif"; [3] = "Arial,Helvetica,Sans serif"; |
|
|
face.default |
string /stdWrap |
[default] = User defined |
|
|
size.field
|
string |
Set to fieldname from the $cObj->data-array
[1] = 1; [2] = 2; [3] = 3; [10] = "+1"; [11] = "-1"; |
|
|
size.default |
string /stdWrap |
[default] = User defined |
|
|
color.field
|
string |
Set to fieldname from the $cObj->data-array
See "content.php" for the colors available |
|
|
color.default |
string /stdWrap |
[default] = User defined |
|
|
color.1 color.2 |
string |
[1],[2] = User defined |
|
|
properties.field |
int |
Set to fieldname from the $cObj->data-array
The property values goes like this: bit 0: <B> bit 1: <I> bit 2: <U> bit 3: (uppercase)
Thus a value of 5 would result in bold and underlined text |
|
|
properties.default |
int /stdWrap |
[default] = User defined (This value will be used whenever ".field" is false!) |
|
|
altWrap |
wrap |
If this value is set, the wrapping with a font-tag based on font,size and color is NOT done. Rather the element is wrapped with this value. Use it to assign a stylesheet by setting this value to eg.
<div class="text"> | </div> |
|
[tsref:->textStyle]