سانچہ:Is empty
Appearance
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.
Usage
[ترمیم]- Logic
- if not
x
then1
. - if
x
then <null>.
Examples
[ترمیم]{{#if:{{is empty| }}|empty|not empty}}
→ empty
{{#if:{{is empty|value}}|empty|not empty}}
→ not empty
Without this template
[ترمیم]{{#if: |not empty|empty}}
→ empty
{{#if:value|not empty|empty}}
→ not empty
اوپر دی گئی دستاویز صفحہ سانچہ:Is empty/دستاویز سے شامل کی گئی ہے۔ (ترمیم | تاریخچہ) صارفین سانچہ کے تختہ مشق (تخلیق | آئینہ) اور ثابتات (تخلیق) میں تجربات کرسکتے ہیں۔ براہ کرم /دستاویز کے ذیلی صفحہ پر زمرہ جات شامل فرمائیں۔ اس سانچہ کے ذیلی صفحات۔ |