Template:If

From Uncyclopedia
Jump to navigation Jump to search

Usage

Tests whether a value or input is defined

{{if|{{{Value|}}}
 |(Text to display if value is present)
 |(Text to display if value is not present)
}}

OR

{{if|{{{Value|}}}
 |then=(Text to display if value is present)
 |else=(Text to display if value is not present)
}}

The third argument is optional.