title: Conditionals/BlockMode description: Basic conditional shortcut syntax in block mode type: text/vnd.tiddlywiki-multiple tags: [[$:/tags/wiki-test-spec]] title: Output \procedure test(animal) <% if [match[Elephant]] %> ! It is an elephant <% else %> <% if [match[Giraffe]] %> ! It is a giraffe <% else %> ! It is completely unknown <% endif %> <% endif %> \end <> <> <> + title: ExpectedResult

It is a giraffe

It is an elephant

It is completely unknown