Template:substcheck/documentation

This template may be used for detecting template substitution.

Place  in the template markup. During rendering, this may expand into one of three strings:
 * if the invoking template is being substituted
 * if the invoking template is being viewed directly
 * if the invoking template is being transcluded.