Template:LinkTemplate/doc

Returns a link (uncoloured/base-font), in the form |undefinedTemplate: TemplateName &thinsp;&#124;&thinsp; &lt;nowiki> TemplateName &thinsp; &lt;/nowiki> |undefined.

Usage
  where

Examples
yields

yields  (red-linked since "Template:TemplateName" doesn't exist)

yields

(Note: optional parameters after the 20th are currently ignored) yields  (not a link since "Template:LinkTemplate" can't link to itself)

yields

yields

yields  (parameter is missing because LinkTemplate tries to interpret the equals sign in " ")

yields the desired result

May be used in-line to create a reference, such as, to a template within the body of a paragraph. The inclusion of parameters is entirely optional, dependent upon whether their listing is desired; the template alone may be referenced as in by simply excluding the parameters from the call to.