Template:Tlnc/doc

From Angelina Jordan Wiki
Revision as of 11:34, 11 November 2020 by Dcljr (talk | contribs) (+ cat:illus markup)
This is a subpage documenting Template:Tlnc. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template is used to form a link to a template in a way that looks like a template call (i.e., inside of double curly-braces: {{}}). The template need not actually exist. This should only be used on talk pages or in template documentation (or help pages, user pages, etc.), not in articles. If no input is given to the template, it uses its own name, "tlnc" (see examples below).

This template displays the template call as plain text ( {{like this}} ). To style the template call as code ({{like this}}), use Template:Tl.

The name of the template is based on the phrase "template link no code".

Usage

  • {{tlnc|template name}}
  • {{tlnc|template name|parameter}}
  • {{tlnc|template name|parameter1{{!}}parameter2…}}

The third form shows how to display more than one parameter. Any number of them can be separated by {{!}}.

Examples

  • {{tlnc}} ⇒ {{tl}}
  • {{tlnc|noop}} ⇒ {{noop}}
  • {{tlnc|missing template}} ⇒ {{missing template}}
  • {{tlnc|code|span}} ⇒ {{code|span}}
  • {{tlnc|abbr|NOK{{!}}Norwegian krone}} ⇒ {{abbr|NOK|Norwegian krone}}

Note: There is no working link in the first example above because the template would be linking to this same page. Just imagine the result with a working link.

See also

  • {{tl}} — same as this template, but styles the sample template link as code