Jump to content

Template:Issubst

From Wikivoyage

Usage

[edit]

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

[edit]
  • "{{issubst}}" → ""
  • "{{subst:issubst}}" → "yes"