Difference between revisions of "Template:Code"

From D Wiki
Jump to: navigation, search
(fix wrong tag)
(Undo revision 2151 by Quickfur (talk) oops!!)
Line 1: Line 1:
<includeonly><span style="font-family:monospace;">{{{1}}}</span></includeonly>
+
<onlyinclude><span style="font-family:monospace;">{{{1}}}</span></onlyinclude>
  
 
Template that allows writing code "inline". For example:
 
Template that allows writing code "inline". For example:

Revision as of 18:35, 17 February 2013

{{{1}}}

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

Example

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

Todo

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