Template:Issubst: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
No edit summary
 
Line 2: Line 2:
{{Documentation}}
{{Documentation}}


[[Category:Templates]]
[[Category:Metatemplates]]
</noinclude>
</noinclude>

Latest revision as of 15:21, 28 January 2026

Template documentation[view] [edit] [history] [purge]
This template is a metatemplate. It is used to build other templates and should not be used standalone, except for testing or simple usage.
English Wikipedia has an article on:

This is a metatemplate 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:

{{<includeonly>safesubst:</includeonly>issubst}}

Examples

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