Help:TT Delimiters
HELP PAGE DISCUSSION CLOSE
Revision as of 23:21, 24 March 2013 by Matt (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to identify Template Toolkit code

Delimiters are markers or tags that separate out TT code from normal text. TT tags are identified by [% and %] delimiters. All of the TT code should be enclosed between delimiters. [% delimiter indicates the beginning of the TT code, while %] signifies the end of the TT code. This is what TT code might look like, embedded in normal text:

Hi [% name %], how are you?

The TT code [% name %] is embedded above in between the text "Hi" and ", how are you?". The sample TT code above is simply printing the contents of the variable name in the normal string. We will go into more details about the TT code later on, but just note how TT code can be identified.


One thing to keep in mind when adding or editing TT code in our editors, when utilizing TT code in certain fields, we do not allow delimiters because our systems automatically encloses all of the content of those fields between a set of delimiters. To find out which fields support the delimiters, simply click on the help buttons next to the fields.


Back to Table of Contents