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