Site Notice
hello, world
Difference between revisions of "Template:IsEmpty"
From Project-EPB Commons
(// Via InPageEdit-v2) |
(// Via InPageEdit-v2) |
||
Line 1: | Line 1: | ||
− | * raw {{{1}}} | + | * '''raw''' <code>{{{1}}}</code> |
− | * ifeq {{#ifeq: {{{1}}} | {{{1|}}} | + | * '''ifeq''' <code>{{#ifeq: {{{1}}} | {{{1|}}} |
| {{#if: {{{1|}}} | not empty | is empty }} | | {{#if: {{{1|}}} | not empty | is empty }} | ||
| undefined | | undefined | ||
− | }} | + | }}</code> |
− | * switch {{#switch: {{{1}}} | + | * '''switch''' <code>{{#switch: {{{1}}} |
| {{{1|placeholder}}} = not empty | | {{{1|placeholder}}} = not empty | ||
| = is empty | | = is empty | ||
| #default = undefined | | #default = undefined | ||
− | }} | + | }}</code> |
<noinclude> | <noinclude> | ||
Revision as of 00:36, 26 May 2023
- raw
{{{1}}}
- ifeq
undefined
- switch
undefined
input | output |
---|---|
{{IsEmpty}} |
|
{{IsEmpty|}} |
|
{{IsEmpty|1}} |
|