UtterAccess HomeUtterAccess Wiki

Welcome Guest ( Log In | Register )

Discussion
> Template:If    


Template Documentation: If

PURPOSE:
The If template can be used to determine if a value was passed, but cannot be used to determine what the value was.

PARAMETERS:
test - this will be tested to see if it has been defined
then - this will be returned if test is defined
else - this will be returned if test is not defined

USAGE:

{{If
|test=Value
|then=when Value has content
|else=when Value has no content
}}


SEE ALSO:
http://meta.wikimedia.org/wiki/Template:Ifold


RELATED TEMPLATES:
Template:Equal

SOURCE:
{{{else{{{test|}}}|{{{test{{{test|}}}|{{{then|}}}}}}}}}


For help creating a documentation page, see Manual:Template Documentation



Discussion
Thank you for your support!
This page has been accessed 4,127 times.  This page was last modified 19:55, 13 January 2012 by Jack Leach.   Disclaimers