TSRef - TypoScript Reference
4. Conditions
4.1. Condition reference:
General notes:
Values are normally trimmed for whitespaces before comparison.
You may combine several conditions with two operators: && (and), || (or)
Alternatively you may use "AND" and "OR" instead of "&&" and "||". The AND operator has always higher precedence over OR. If no operator has been specified, it will default to OR.
Examples:
This condition will match if the visitor opens the website with Internet Explorer on Windows (but not on Mac)
[browser = msie] && [system = win]
This will match with either Opera or Netscape browsers
[browser = opera] || [browser = netscape]
This will match with either Internet Explorer or Netscape. In case of Netscape, the version must be above 4.
[browser = msie] || [browser = netscape] && [version => 4]