ਫਰਮਾ:Both
![]() | ਇਹ ਫਰਮਾ ਕਾਫੀ ਸਫ਼ਿਆਂ 'ਤੇ ਵਰਤਿਆ ਗਿਆ ਹੈ। ਵੱਡੇ ਪੱਧਰ ਦੀ ਗੜਬੜ ਅਤੇ ਸਰਵਰ ਉੱਤੇ ਅਣਚਾਹਿਆ ਭਾਰ ਪਾਉਣ ਤੋਂ ਬਚਣ ਲਈ ਕੋਈ ਵੀ ਤਬਦੀਲੀ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਉਹਨੂੰ ਇਸ ਫ਼ਰਮੇ ਦੇ /ਰੇਤਡੱਬੇ ਜਾਂ /ਪਰਖ ਉੱਪ-ਸਫ਼ੇ 'ਤੇ ਜਾਂ ਆਪਣੀ ਵਰਤੋਂਕਾਰੀ ਥਾਂ 'ਤੇ ਪਰਖ ਕੇ ਵੇਖੋ। ਪਰਖੀਆਂ ਹੋਈਆਂ ਤਬਦੀਲੀਆਂ ਨੂੰ ਫੇਰ ਇੱਕੋ ਸੋਧ ਰਾਹੀਂ ਇਸ ਫਰਮੇ ਵਿੱਚ ਜੋੜੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ। ਮਿਹਰਬਾਨੀ ਕਰਕੇ ਕਿਸੇ ਵੀ ਤਬਦੀਲੀ ਨੂੰ ਲਾਗੂ ਕਰਨ ਤੋਂ ਪਹਿਲਾਂ ਗੱਲਬਾਤ ਸਫ਼ੇ 'ਤੇ ਵਿਚਾਰੋ। |
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[ਸੋਧੋ]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Both
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 | String | required |
String2 | 2 | Second string | String | required |
See also[ਸੋਧੋ]
- {{if}}
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. |