[TASK] Documentation for new, custom TypoScript conditions

Document the syntax of new, custom TypoScript conditions. Also add an
example including the PHP code, which demonstrates how to use them.

Resolves: #61492