General syntax

Each condition is encapsulated by square brackets. For a list of available conditions see below.

“[ELSE]” is available as else operator. It is a condition, which will return TRUE, if the previous condition returned FALSE.

Each condition block is ended with “[GLOBAL]”.


[browser = msie]
  # TypoScript Code for users of Internet Explorer.
  # TypoScript Code for users of other browsers.

General notes


For full explanations about conditions, especially about condition syntax, please refer to the according chapter in “TYPO3 Explained”.