Difference between revisions of "Template:Undef"
Jump to navigation
Jump to search
m |
|||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{# | <div>{{#ifeq: {{{param|0}}} | 0 ||It's not zero ({{{param}}})}}</div><noinclude> | ||
|0 | |||
| | |||
}} | |||
<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. | ||
Line 15: | Line 11: | ||
<pre>{{Undef|param=LOL}}</pre> | <pre>{{Undef|param=LOL}}</pre> | ||
{{Undef|param= | {{Undef|param=LOL}} | ||
</noinclude> | </noinclude> |
Latest revision as of 21:14, 30 June 2017
Description
Checks if undefined, if not tries to default. Use empty otherwise.
Example
{{Undef}}
{{Undef|param=}}
It's not zero ()
{{Undef|param=LOL}}
It's not zero (LOL)