Difference between revisions of "Template:Undef"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
{{#ifeq:{{{param|0}}}|0|It's zero somehow.|It's not zero ({{{param}}})}}<noinclude>
{{#switch:{{{param|0}}}
|0 = This is a zero.
|#default = 0000000000
}}
<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:11, 30 June 2017

This is a zero.

Description

Checks if undefined, if not tries to default. Use empty otherwise.

Example

{{Undef}}

This is a zero.


{{Undef|param=}}

0000000000


{{Undef|param=LOL}}

0000000000