Difference between revisions of "Template:Undef"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
{{{param|0}}}<noinclude> | {{#ifeq:{{{param|0}}}|0|It's zero somehow.|It's not zero ({{{param}}})}}<noinclude> | ||
== Description == | == Description == | ||
Checks if undefined, if not tries to default. Use empty otherwise. | Checks if undefined, if not tries to default. Use empty otherwise. |
Revision as of 20:05, 30 June 2017
It's zero somehow.
Description
Checks if undefined, if not tries to default. Use empty otherwise.
Example
{{Undef}}
It's zero somehow.
{{Undef|param=}}
It's not zero ()
{{Undef|param=LOL}}
It's not zero (LOL)