跳去內容

Template:Is empty

出自維基百科,自由嘅百科全書
模解[] [] [] []

Returns true if the first parameter is assigned no value. It can be useful in de-obfuscating wiki markup. It was created to facilitate adding tracking categories.

用法[編輯]

Logic
if not x then 1.
if x then <null>.

[編輯]

{{#if:{{is empty| }}|empty|not empty}} → empty

{{#if:{{is empty|value}}|empty|not empty}} → not empty