用法

編輯

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"