قالب:If both
من أرابيكا، الموسوعة العربية الحرة
المزيد من اللغات
المزيد من الإجراءات
This helper template is designed to be used in other templates. It can help editors create templates that or self documenting.
الاستخدام
If a and b then x.
If a nor b then y.
If a or b then y.
It can be used to replace the construct: {{#if: a | {{#if: b | x | y}}
أمثلة
{{If both| a | b | x}} → x
{{If both| a | | x | y}} → y
{{If both| | b | x | y}} → y
طالع أيضاً