Šablona:If

Z Necyklopedie
Skočit na navigaci Skočit na vyhledávání

Usage[editovat zdroj]

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.