Rev 3614 | Rev 6096 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3614 | Rev 6094 | ||
|---|---|---|---|
| Line 1... | Line 1... | ||
| 1 | <p> |
1 | <p> |
| 2 | Syntaxe : <tt>\\if{condition}{contenu1}{contenu2}</ |
2 | Syntaxe : <span class="tt">\\if{condition}{contenu1}{contenu2}</span> |
| 3 | <p> |
3 | <p> |
| 4 | où <tt>condition</ |
4 | où <span class="tt">condition</span> sont des conditions de test (utilisant des variables), |
| 5 | <tt>contenu1</ |
5 | <span class="tt">contenu1</span> est montré quand la condition est vraie, sinon |
| 6 | <tt>contenu2</ |
6 | <span class="tt">contenu2</span> est montré. Le dernier est facultatif. |
| 7 | \help{module=adm/doc&cmd=new&job=help&help_subject=if} |
7 | \help{module=adm/doc&cmd=new&job=help&help_subject=if} |
| 8 | {Liste de conditions}. |
8 | {Liste de conditions}. |
| 9 | <p> |
9 | <p> |