From 8fa95a3f5ae14112b2acffdd010c645cd250d61e Mon Sep 17 00:00:00 2001 From: Janis Streib Date: Wed, 31 Dec 2014 02:24:34 +0100 Subject: [PATCH] ADD: If-else documentation --- doc/TemplateSyntax.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/TemplateSyntax.txt b/doc/TemplateSyntax.txt index c399d7eb..75a42b2b 100644 --- a/doc/TemplateSyntax.txt +++ b/doc/TemplateSyntax.txt @@ -14,10 +14,11 @@ A template is constructed from a charstream. Everything that is not in " will insert "some data" into the translated text - will insert "some data" into the translated text literally (not HTML-escaped) -- +- ... Output/execute the text until "" only if $variable is Boolean.TRUE (<=> !Boolean.FALSE) or not null. - -- +- ... ... + +- ... If $variable is an "IterableDataset" Output/execute the text until "" repeated as $variable suggests. Special variables that $variable defines can be used in the inner text. -- 2.39.2