Template:If: Difference between revisions

From IHE Wiki
Jump to navigation Jump to search
Kboone (talk | contribs)
mNo edit summary
 
Kboone (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{{else{{{test|}}}|{{{test{{{test|}}}|{{{then|}}}}}}}}}
{{{else{{{test|}}}|{{{test{{{test|}}}|{{{then|}}}}}}}}}
<noinclude>
== Usage: ==
If X evaluates to a non-empty string, the thenClause is output, otherwise, the elseClause is generate.
<pre>{{If|test=X|then=thenClause|else=elseClause}}</pre>
</noinclude>

Revision as of 14:31, 1 October 2008


Usage:

If X evaluates to a non-empty string, the thenClause is output, otherwise, the elseClause is generate.

{{If|test=X|then=thenClause|else=elseClause}}