模板: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"