This template should always be substituted (i.e., use {{subst:codenowiki/documentation}}). Any accidental transclusions will be automatically substituted by a bot.
Ignore the code appearing above; it is not how the final result will display
This template provides a speedy way to wrap template source code in <code><nowiki>...</nowiki></code> markup. To work correctly, it must be substituted.
Recommended use is:
{{subst:codenowiki |1=(code)}}
i.e. so that anything before an equals (=) sign in the code isn't interpreted as a parameter name.
If the template is transcluded rather than substituted on a page, its output can be corrected by re-saving the page, triggering the substitution embedded within it:
To indicate text is a variable name. Use for any variable names except those including "I" (uppercase i) and/or "l" (lowercase L); for these, {{Varserif}} should be used to ensure a noticeable distinction
To display parameters as used in code (i.e. with triple braces), especially to indicate relationships between them. May be combined with {{Para}} above
To indicate text is source code. To nest other templates within {{Code}}, use <Code>...</Code>. {{Codett}} differs only in styling: someMethod becomes someMethod
(or {{Deprecated code}} ) To indicate deprecated source code in template documentation, articles on HTML specs, etc. The {{Dc2}} variant uses strike-through (<blink>) while {{Dcr}} uses red (<blink>).