قالب:Is empty/شرح
المظهر
هذه صفحة توثيق قالب: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.
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