Subversion Repositories wimsdev

Rev

Rev 8367 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<p>
Syntax: <span class="tt wims_code_words">\\if{condition}{content1}{content2}</span>
</p><p>
where <span class="tt wims_code_words">condition</span> is composed of testing conditions (using variables),
<span class="tt wims_code_words">content1</span> will be shown when the condition is true, otherwise
<span class="tt wims_code_words">content2</span> will be shown. The latter is optional.
A variant for wich the tests = et != are numerical tests is given by
<span class="tt">\\ifval{condition}{contenu1}{contenu2}</span>

\help{module=adm/doc&cmd=new&job=help&help_subject=if}
{List of conditions}.
</p>