X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=doc%2FTemplateSyntax.txt;h=75a42b2b247f5360dc6d8b1d931503af163d9fa2;hp=c399d7eb285968735c439d45a4ac23bd59fce755;hb=8fa95a3f5ae14112b2acffdd010c645cd250d61e;hpb=f20b0cb51cd212fa247f4bddab1dcf56fae6ca6b 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.