Protected page

Template:If

From Uncyclopedia, the content-free encyclopedia
Jump to navigation Jump to search

Usage

Tests whether a value is defined.

{{if|{{{Value|}}}
 |(Text to display if value is defined)
 |(Text to display otherwise)
}}

OR

{{if|{{{Value|}}}
 |then=(Text to display if value is defined)
 |else=(Text to display otherwise)
}}

The third argument is optional.