Template:Code/doc

From Angelina Jordan Wiki
Revision as of 23:13, 13 July 2024 by Dcljr (talk | contribs) (+ cat:useful in doc; other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a subpage documenting Template:Code. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template wraps its input in a <code>…</code> element. It is intended to be used for simple cases where writing that out would be unnecessarily tedious. If given no input, the word "code" is used, as seen above.

This template is used on a great many pages. Making any changes to it will cause lots of jobs to be added to the processing queue.

Usage

  • {{code|text}}

Examples

  • {{code}}code
  • {{code|style}}style
  • {{code|1=style="color:red"}}style="color:red"
  • {{code|style{{=}}"color:red"}}style="color:red"