Template:Code

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.

Base template copied over from https://en.wikipedia.org/wiki/Template:Code

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


 * Unnamed parameter 1
 * The code to display.


 * class=
 * Css class(es). Default is class code.


 * style=
 * Additional css styling.


 * id=
 * Id attribute.


 * lang=
 * The language of code. Default is text.

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