Template:Issubst/Documentation

From GodWiki
< Template:Issubst
Revision as of 08:48, 7 July 2017 by FeRDNYC (talk | contribs) (Borrowed docs from Wikipedia's Template:Issubst/Documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Usage

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

Examples

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