Site Notice
hello, world
Difference between revisions of "Template:IsEmpty"
From Project-EPB Commons
(// Via InPageEdit-v2) |
(// Via InPageEdit-v2) |
||
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
| undefined | | undefined | ||
}}</code> | }}</code> | ||
− | * '''switch''' <code>{{#switch: {{{1}}} | + | * '''switch''' <code>{{#switch: {{#if: {{{1|}}} | + | {{{1|-}}} }} |
− | + | | - = undefined | |
− | | | + | | = is empty |
− | | | + | | + = not empty |
}}</code> | }}</code> | ||
<noinclude> | <noinclude> |
Latest revision as of 00:44, 26 May 2023
- raw
{{{1}}}
- ifeq
undefined
- switch
undefined
input | output |
---|---|
{{IsEmpty}} |
|
{{IsEmpty|}} |
|
{{IsEmpty|1}} |
|