模板:Issubst/doc

出自Local Chinese Wikipedia
imported>米沙鄢2022年5月22日 (日) 10:57的修訂 建立内容为“{{Documentation subpage}} == 用法 == Meta template that returns "yes" if evaluated during substitution, and the empty string if evaluated during transclusion.<br />Note that this template must be used in safesubst mode to work properly: :<code><nowiki>{{ safesubst:<noinclude/>issubst}}</nowiki></code> == 例子 == *"<code><nowiki>{{issubst}}</nowiki></code>" → "{{issubst}}" *"<code><nowiki>{{subst:issubst}}</nowik…”的新页面)
(差異) ←上個修訂 | 最新修訂 (差異) | 下個修訂→ (差異)
跳至導覽 跳至搜尋

用法[編輯]

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"