Difference between revisions of "Template:If"

From IHE Wiki
Jump to navigation Jump to search
m
m
 
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>
 

Latest revision as of 17:57, 1 October 2008