Template:Issubst/doc

From 1F616EMO Survival Server Wiki
Revision as of 06:53, 9 February 2024 by 1F616EMO (talk | contribs) (1 revision imported: subst family)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Examples

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

Template:List of subst helper templates