Template:Code/doc

From Angelina Jordan Wiki
Revision as of 14:56, 13 November 2020 by Dcljr (talk | contribs) (better name for cat)
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.

Usage

  • {{code|text}}

Examples

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