Difference between revisions of "Template:Issubst/Documentation"

From GodWiki
Jump to: navigation, search
(Borrowed docs from Wikipedia's Template:Issubst/Documentation)
m (Category)
Line 8: Line 8:
*"<code><nowiki>{{subst:issubst}}</nowiki></code>" → "yes"
*"<code><nowiki>{{subst:issubst}}</nowiki></code>" → "yes"
<!-- Categories here -->

Revision as of 18:23, 11 November 2018


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:}}}issubst}}


  • "{{issubst}}" → ""
  • "{{subst:issubst}}" → "yes"