X-Git-Url: https://code.wpia.club/?a=blobdiff_plain;f=doc%2FTemplateSyntax.txt;h=9309f5e21808521681eeed194a838296af6449ac;hb=0f12d61a4fd73fc9aac98dbb5c440693755da8cb;hp=2c6d8a0265d0e61eeca4820d6cb7b2012ac5fff2;hpb=516bd2758f82108318863e41c95ba38a38929a91;p=gigi.git diff --git a/doc/TemplateSyntax.txt b/doc/TemplateSyntax.txt index 2c6d8a02..9309f5e2 100644 --- a/doc/TemplateSyntax.txt +++ b/doc/TemplateSyntax.txt @@ -8,9 +8,12 @@ A template is constructed from a charstream. Everything that is not in " Translate the last string. Output $var1,...,$varn replaced into the %s positions in the translated string. + +- will output the variable "variablename" but not HTML-escaped +- will insert the variable "variablename" into the translated text but not HTML-escaped - - Output/execute the text until "" only if $variable is boolean and true. + Output/execute the text until "" only if $variable not null or Boolean.FALSE. - If $variable is an "IterableDataset"