Template:Code

From Angelina Jordan Wiki
Revision as of 14:52, 31 October 2020 by Dcljr (talk | contribs) (rethink missing input case)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

code

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"