قالب:Both
This template is used on 630,000+ pages. To avoid large-scale disruption and unnecessary server load, any changes to this template should first be tested in its /sandbox or /testcases subpages, or in your own user space. The tested changes can then be added to this page in one single edit. Please consider discussing any changes on the talk page before implementing them. |
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).
TemplateData
Produces '1' (equivalent to a true condition) if both 'string1' and 'string2' are non-empty; otherwise produces the empty string (false condition).
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
String1 | 1 | First string | نص | مطلوب |
String2 | 2 | Second string | نص | مطلوب |
See also
The above documentation is transcluded from قالب:Both/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |