الگو:Both/توضیحات
از پژوهشکده امر به معروف
کاربرد:
{{both|string1|string2}} در صورتی که دو رشتهٔ فرستادهشده به الگو خالی نباشند مقدار درست را برمیگرداند یعنی ۱ رابر میگرداند و در غیر این صورت ۰ را برمیگرداند.
الگوی Template:Allof را هم ببینید.
Usage
{{both|string1|string2}} Produces 1 (equivalent to a true condition) if both string1 and string2 are non-empty; otherwise produces the empty string (false condition).







