Template:Code

From D Wiki
Revision as of 18:42, 17 February 2013 by Quickfur (talk | contribs) (document workaround for literal =.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{{1}}}

Template that allows writing code "inline". For example:

Example

Use {{code|@property}} to ... Use @property to ...

Caveat

If the template parameter contains an equal sign (=), it needs to be written as = instead, otherwise the template will not work correctly.

Todo

template:Code is currently just a monospace font. It could be enhanced by being made a css style, or an extension.