قالب: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
طالع أيضاً
[عدل]