title: Conditionals/NestedElseif description: Nested elseif conditional shortcut syntax type: text/vnd.tiddlywiki-multiple tags: [[$:/tags/wiki-test-spec]] title: Text \whitespace trim This is a <% if [match[one]] %> <% if [match[one]] %> Indian <% elseif [match[two]] %> African <% else %> Unknown <% endif %> Elephant <% elseif [match[two]] %> Antelope <% else %> Crocodile <% endif %> , I think. + title: Output <$let something="one" another="one"> {{Text}} <$let something="one" another="two"> {{Text}} <$let something="one" another="three"> {{Text}} <$let something="two"> {{Text}} <$let something="three"> {{Text}} + title: ExpectedResult

This is a Indian Elephant, I think.

This is a African Elephant, I think.

This is a Unknown Elephant, I think.

This is a Antelope, I think.

This is a Crocodile, I think.