Wrap text with HTML, class, prefix, suffix, and apply tranforms to it in the process. Transforms can be chained together, and include:
- format as date
- split / combine
- process with Textile
- process with Forms
If the item you are intending to wrap is empty / non-existent then no wrap is applied and nothing is displayed. This makes it an ideal candidate for placing around other tags and saves having to do the “assign content to
<txp:variable>, check if variable exists” dance.
<txp:else /> is supported so you may take action if the contained content is empty.