From bd1bad68d8d8f4557e00659e650775ca3d99568c Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 1 Sep 2023 14:41:39 +0100 Subject: [PATCH] Update docs --- .../tiddlers/wikitext/Conditional Shortcut Syntax.tid | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/editions/tw5.com/tiddlers/wikitext/Conditional Shortcut Syntax.tid b/editions/tw5.com/tiddlers/wikitext/Conditional Shortcut Syntax.tid index d3ccffeff..4c25bfae0 100644 --- a/editions/tw5.com/tiddlers/wikitext/Conditional Shortcut Syntax.tid +++ b/editions/tw5.com/tiddlers/wikitext/Conditional Shortcut Syntax.tid @@ -4,11 +4,12 @@ tags: WikiText title: Conditional Shortcut Syntax type: text/vnd.tiddlywiki -The conditional shortcut syntax provides a convenient way to express if-then-else logic within WikiText. For example: +The conditional shortcut syntax provides a convenient way to express if-then-else logic within WikiText. It evaluates a filter and considers the condition to be true if there is at least one result. + +For example: <$macrocall $name='wikitext-example-without-html' -src=' -\procedure test(animal) +src='\procedure test(animal) {% if [match[Elephant]] %} It is an elephant {% else %}