Difference between revisions of "Template:Undef"
Jump to navigation
Jump to search
(creation) |
m |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{{ | <div>{{#ifeq: {{{param|0}}} | 0 ||It's not zero ({{{param}}})}}</div><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 7: | Line 7: | ||
{{Undef}} | {{Undef}} | ||
<pre>{{Undef| | <pre>{{Undef|param=}}</pre> | ||
{{Undef| | {{Undef|param=}} | ||
<pre>{{Undef| | <pre>{{Undef|param=LOL}}</pre> | ||
{{Undef| | {{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)