模板:Issubst
外觀
用法
Meta template that returns "yes" if evaluated during substitution, and the empty string if evaluated during transclusion.
Note that this template must be used in safesubst mode to work properly:
{{ safesubst:<noinclude/>issubst}}
例子
- "
{{issubst}}
" → "" - "
{{subst:issubst}}
" → "yes"
上述文件嵌入自Template:Issubst/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (建立 | 鏡像)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |