Template:Code

From STNE Wiki

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

Revision as of 11:27, 22 August 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