Template:Code/doc

From MidrangeWiki
< Template:Code
Revision as of 06:34, 9 June 2008 by WurmWoode (talk | contribs) (Examples: Clarity, side-by-side does not have to be left-right)
Jump to: navigation, search
48px This is the template documentation page for {{Code}}.
It is not intended to be viewed directly. If it uses variables, some links may appear broken. Do not replace these variables with hardcoded page names or URLs.

Documentation

{{code}} is a shorthand notation to enclose the single parameter text inside <code> tags. It is most useful when showing screen input or output.

Usage

{{ code | string to code-icize }}

Examples

Encode:
{{code|this is a test of the quick brown fox}}
Result:
this is a test of the quick brown fox