Template:Code/doc

To be used if you want to list some short code, which you want to stand out. Similar to using tags, except that it has a grey background.

Usage
Use Code to display, which results in Code to display.

The code to display.
 * Unnamed parameter 1

Css class(es).
 * class=

Id attribute.
 * id=

The language of code.
 * lang=

Examples
border:1px solid #fff => results in border:1px solid #fff

Note: Template based off wikipedia:Template:Code and mw:Template:Code

This documentation page was copy-pasted from Gamepedia.