Template:Tcnc
{{template call}}
Documentation
This template is used to display the wiki markup that would form a link to a template (i.e., using double curly-braces: {{}}). Unlike Template:Tl and Template:Tlnc, the name of the template is not linked to the template page. 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 the phrase "template call" (as seen above), but his can be suppressed by passing the template empty input (i.e., {{tcnc|}} — see examples below).
This template displays the sample template call as plain text, {{like this}}. To style the template call as code, {{like this}}, use Template:Tc.
If you want the template name to be linked to the template page, use Template:Tlnc or Template:Tl.
The name of this template is based on the phrase "template call no code".
Usage
{{tcnc|template name}}{{tcnc|template name|parameter}}{{tcnc|template name|parameter1|parameter2|…}}
Up to 19 parameters can be displayed. If you need more, you can use {{param-var}}.
Examples
{{tcnc}}⇒ {{template call}}{{tcnc|}}⇒ {{}}{{tcnc|tcnc{{!}}}}⇒ {{tcnc|}}{{tcnc|code}}⇒ {{code}}{{tcnc|code|span}}⇒ {{code|span}}{{tcnc|abbr|NOK|Norwegian krone}}⇒ {{abbr|NOK|Norwegian krone}}{{tcnc|ytv|protocol{{=}}|v{{=}}|t{{=}}|linktext{{=}}}}⇒ {{ytv|protocol=|v=|t=|linktext=}}
As seen in the last example, when illustrating calls with multiple named parameters, there is little benefit in using this template over simply wrapping the entire sample template call in <nowiki> tags. In particular, the same thing could be accomplished by doing:
<nowiki>{{ytv|protocol=|v=|t=|linktext=}}</nowiki>⇒ {{ytv|protocol=|v=|t=|linktext=}}