optional

Date: 13-04-2007 13:11 Views: 2917 Author: Colin Polonowski

Description:

Displays a template if a specified content element contains a value.

There are two parameters:

1. template - the template to display if the element contains a value
2. element - the element to check

Syntax:

(optional|template|element)

Example:

  • (optional|Link:More|moreavailable)
    Checks to see if moreavailable contains a value. If it does, it displays the Link:More Fixed Template. If moreavailable doesn't contain a value no template is displayed.