Template:Code

From Angelina Jordan Wiki
Revision as of 01:21, 18 October 2020 by Dcljr (talk | contribs) (template created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Documentation

This template wraps its input in a code element. It is intended to be used for simple cases where writing <code>…</code> would be unnecessarily tedious. The template does not complain about missing input, but if no input is provided a small "empty" code box is generated, as seen above (which can look weird and confusing).

Usage

  • {{code|text}}

Examples

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