跳转到内容

模板:Both/doc

来自戏曲百科
戏曲百科留言 | 贡献2021年6月17日 (四) 03:16的版本 (建立内容为“{{documentation subpage}} {{high-risk|186567}} ==用法== <nowiki>{{both|string1|string2}}</nowiki> Produces '''1''' (equivalent to a true condition) if both ''s…”的新页面)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

用法

{{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).

模板参数

参数描述类型状态
11

第一个字符串

字符串必需
22

第二个字符串

字符串必需