Difference between revisions of "Template:Undef"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{#switch:{{{param|0}}} | {{#switch:{{{param|0}}} | ||
|0 = | |0 = Instant | ||
|#default = | |#default = {{{param}}}s | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
Line 15: | Line 15: | ||
<pre>{{Undef|param=LOL}}</pre> | <pre>{{Undef|param=LOL}}</pre> | ||
{{Undef|param= | {{Undef|param=1}} | ||
{{Undef|5}} | |||
{{Undef|Instant}} | |||
{{Undef|1}} | |||
{{Undef|param=5}} | |||
{{Undef|param=5s}} | |||
</noinclude> | </noinclude> |
Revision as of 20:17, 30 June 2017
Instant
Description
Checks if undefined, if not tries to default. Use empty otherwise.
Example
{{Undef}}
Instant
{{Undef|param=}}
s
{{Undef|param=LOL}}
1s
Instant
Instant
Instant
5s
5ss