Site Notice

hello, world

Difference between revisions of "Template:IsEmpty"

From Project-EPB Commons
(// Via InPageEdit-v2)
(// Via InPageEdit-v2)
Line 1: Line 1:
<includeonly>{{#ifeq: {{{1}}} | {{{1|}}}
+
{{#ifeq: {{{1}}} | {{{1|}}}
 
   | {{#if: {{{1|}}} | not empty | is empty }}
 
   | {{#if: {{{1|}}} | not empty | is empty }}
 
   | undefined
 
   | undefined
}}</includeonly><noinclude>
+
}}
 +
{{#switch: {{{1}}}
 +
  | {{{1|placeholder}}} = not empty
 +
  |                    = is empty
 +
  | #default            = undefined
 +
}}
 +
<noinclude>
 +
 
 +
----
  
 
{| class="wikitable"
 
{| class="wikitable"

Revision as of 00:33, 26 May 2023

undefined undefined



input output
{{IsEmpty}}
undefined

undefined

{{IsEmpty|}}
is empty

not empty

{{IsEmpty|1}}
not empty

not empty