Template:Issubst

From Wikivoyage
Jump to navigation Jump to search

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"