• 首页
  • 随机
  • 登录
  • 设置
  • 关于悠日計画 維基百科 ~ Yuuni Wiki
  • 免责声明
悠日計画 維基百科 ~ Yuuni Wiki

模板:Both

  • 语言
  • 监视
  • 查看源代码
wikipedia>Xiplus2022年6月29日 (三) 09:23的版本 (per EP 自Draft:Template:Both合并角色扮演对话的版本72256060)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
文件:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
WarningThis template is used on 1,450,000+ pages, or roughly 92949% of all pages.
To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing 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

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

模板参数[编辑模板数据]

参数描述类型状态
String11

First string

字符串必需
String22

Second string

字符串必需

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.
Add categories to the /doc subpage. Subpages of this template.
检索自“https://wiki.czzzz.work/index.php?title=模板:Both&oldid=4183”
查看本页面的编辑历史。

语言

    此页面在其他语言不可用。

    悠日計画 維基百科 ~ Yuuni Wiki
    • 此页面最后编辑于2022年6月29日 (星期三) 09:23。
    • 除非另有声明,本网站内容采用知识共享署名-非商业性使用-相同方式共享授权。
    • 隐私政策
    • 关于悠日計画 維基百科 ~ Yuuni Wiki
    • 免责声明
    • 桌面版