Difference between revisions of "Template:Code"
From MidrangeWiki
MrDolomite (talk | contribs) m (created template for <code> tags) |
MrDolomite (talk | contribs) m (adding <big>) |
||
Line 1: | Line 1: | ||
− | <code>{{{1}}}</code><noinclude> | + | <big><code>{{{1}}}</code></big><noinclude> |
{{{{FULLPAGENAME}}/doc}} | {{{{FULLPAGENAME}}/doc}} | ||
<!-- Add cats and interwikis to the /doc subpage, not here! --> | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |
Latest revision as of 13:51, 5 February 2007
{{{1}}}
Documentation
{{code}} is a shorthand notation to enclose the single parameter text inside both <
code
>
and <
big
>
tags.
It is most useful when showing screen input or output, or referring to an object, such as a library, file, member or command.
Usage
{{ code | string to code-icize }}
Examples
Code | Result | |
---|---|---|
{{code|this is a test of the quick brown fox}} |
this is a test of the quick brown fox
| |
{{code|WRKPTF}} |
WRKPTF
|
- This template is a self-reference and so is part of the MidrangeWiki project rather than the content itself.