Template:substcheck/documentation

From Wiktionary, the free dictionary
Jump to navigation Jump to search
Documentation for Template:substcheck. [edit]
This page contains usage information, categories, interwiki links and other content describing the template.

This template may be used for detecting template substitution.

Place <includeonly>{{subst:</includeonly>substcheck<includeonly>}}</includeonly> in the template markup. During rendering, this may expand into one of three strings:

  • SUBST if the invoking template is being substituted
  • substcheck if the invoking template is being viewed directly
  • {{subst:substcheck}} if the invoking template is being transcluded.