Difference between revisions of "Template:Undef"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{{param|0}}}
<div>{{#ifeq: {{{param|0}}} | 0 ||It's not zero ({{{param}}})}}</div><noinclude>
|0 = Instant
|#default = {{{param}}}s
}}
<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=1}}
{{Undef|param=LOL}}
 
{{Undef|5}}
 
{{Undef|Instant}}
 
{{Undef|1}}
 
{{Undef|param=5}}
 
{{Undef|param=5s}}
</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)