Template:Ifsubst:修订间差异
模板页面
更多语言
更多操作
zh>Xiplus-abot 小 已更改“Template:Ifsubst”的保护设置:高風險模板:102254引用<!-- 機器人3 -->([编辑=仅允许管理员](无限期)[移动=仅允许管理员](无限期)) |
小 导入1个版本 |
||
(没有差异)
| |||
2024年10月14日 (一) 07:16的最新版本
File:Test Template Info-Icon - Version (2).svg 模板文档[查看] [编辑] [历史] [清除缓存]
用法
本模板需在safesubst模式下使用,以維持正確的運作。
{{ {{{|safesubst:}}}ifsubst| yes | no }}
相關模板
- {{require subst}}: 呼出錯誤值,直到被取代為止。
- {{subst check top}}, {{subst check bottom}}: Same purpose, but used as a pair.
- {{subst only}}: For the doc of the above templates; prints a message asking for it be substituted.
- {{nosubst}}: The reverse of {{subst only}}. For the doc of templates which should not be substituted; prints a message asking for it not to be substituted.
- {{substitution}}: Allows free-fill description of whether the template should be substituted and under what conditions.
- {{issubst}}: 若被取代時,呼出「yes」值。
- {{ifsubst}}: 根據程式碼被「取代」與否決定呼出值。