Template:Code
From STNE Wiki
(Difference between revisions)
(4 intermediate revisions not shown) | |||
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;">{{{1}}}</span></includeonly><noinclude> |
+ | Use this template for small pieces of in-line code. Use pre tags for multi-line code. | ||
Usage: | Usage: | ||
Line 6: | Line 7: | ||
Result: | Result: | ||
{{code|Function DoStuff()}} | {{code|Function DoStuff()}} | ||
- | + | [[Category:Templates]]</noinclude> | |
- | [[Category: | + | |
- | </noinclude | + |
Latest revision as of 12:17, 7 February 2011
Use this template for small pieces of in-line code. Use pre tags for multi-line code.
Usage:
{{code|Function DoStuff()}}
Result: Function DoStuff()