Template:Code

From STNE Wiki

(Difference between revisions)
Jump to: navigation, search
(Created page with "<noinclude>Use this template for small pieces of in-line code. Use pre tags for multi-line code. Usage: <pre>{{code|Function DoStuff()}}</pre> Result: {{code|Function DoStuff()...")
Line 7: Line 7:
{{code|Function DoStuff()}}
{{code|Function DoStuff()}}
-
</noinclude><onlyinclude><span style="font-family:monospace">{{{1}}}</span></onlyinclude>
+
</noinclude><includeonly><span style="font-family:monospace">{{{1}}}</span></includeonly>

Revision as of 12:22, 16 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()