The simplest condition would be something like: [condition:value] where if the condition is met, the value would be used, if it isn't met, nothing would be used.
To add else-if conditions, add them after like following:
In the example above value1 will be used if condition1 is met, if not, it will try condition2, if met, value2 will be used, if not, it will test condition3, if met, value3 will be used, if not elseValue will be used.
You can add as many else-if-statements as you want!
Note: Both else-if-conditions and else-conditions are optional!
In the condition part of a condition, all strings (texts) have to be in quotes! (")
For example, [{target_block}: value] wouldn't work, instead do: ["{target_block}": value].