Template:Code

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<includeonly><span style="font-family:monospace; color:#FFFFFF;">{{{1}}}</span></includeonly><noinclude>
+
<includeonly><span style="font-family:monospace;">{{{1}}}</span></includeonly><noinclude>
Use this template for small pieces of in-line code. Use pre tags for multi-line code.
Use this template for small pieces of in-line code. Use pre tags for multi-line code.

Revision as of 16:44, 10 September 2010

Use this template for small pieces of in-line code. Use pre tags for multi-line code.

Usage:

{{code|Function DoStuff()}}

Result: Function DoStuff()

Personal tools