Update Changelog.md
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 22s
All checks were successful
Run Unit Tests / build-and-run-unit-tests (push) Successful in 22s
This commit is contained in:
parent
82693bfa3e
commit
3fc301cde5
1 changed files with 6 additions and 4 deletions
10
Changelog.md
10
Changelog.md
|
@ -4,16 +4,17 @@
|
||||||
|
|
||||||
Implemented "IF", "ELSEIF", "ELSE", "ENDIF", and "INDEX" for templates.
|
Implemented "IF", "ELSEIF", "ELSE", "ENDIF", and "INDEX" for templates.
|
||||||
|
|
||||||
IF is used like: `{{{!IF Variable==SomeString}}}`.
|
IF is used like: `{{{!IF Variable==SomeString}}}`.
|
||||||
ELSEIF is used like: `{{{!ELSEIF Variable==AnotherString}}}`.
|
ELSEIF is used like: `{{{!ELSEIF Variable==AnotherString}}}`.
|
||||||
ELSE is used like: `{{{!ELSE}}}`.
|
ELSE is used like: `{{{!ELSE}}}`.
|
||||||
ENDIF is used like: `{{{!ENDIF}}}`.
|
ENDIF is used like: `{{{!ENDIF}}}`.
|
||||||
INDEX is used like: `{{{!INDEX ArrayVar[2]}}}`.
|
INDEX is used like: `{{{!INDEX ArrayVar[2]}}}`.
|
||||||
|
|
||||||
Implemented "FOREACH" and "ENDFOREACH" for templates.
|
Implemented "FOREACH" and "ENDFOREACH" for templates.
|
||||||
|
|
||||||
FOREACH is used like:
|
FOREACH is used like:
|
||||||
|
|
||||||
|
PATH=/
|
||||||
HTML='''
|
HTML='''
|
||||||
{{{!FOREACH ArrayVar}}}
|
{{{!FOREACH ArrayVar}}}
|
||||||
{{{ArrayVar}}}
|
{{{ArrayVar}}}
|
||||||
|
@ -24,6 +25,7 @@ FOREACH is used like:
|
||||||
|
|
||||||
For multiple variables to expand in FOREACH:
|
For multiple variables to expand in FOREACH:
|
||||||
|
|
||||||
|
PATH=/
|
||||||
HTML='''
|
HTML='''
|
||||||
{{{!FOREACH ArrayVar!ArrayVarSecond!ArrayVarThird}}}
|
{{{!FOREACH ArrayVar!ArrayVarSecond!ArrayVarThird}}}
|
||||||
{{{ArrayVar}}}
|
{{{ArrayVar}}}
|
||||||
|
|
Loading…
Reference in a new issue