Difference between revisions of "Template:Code"

From MidrangeWiki
Jump to: navigation, search
m (created template for <code> tags)
 
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 08:51, 5 February 2007

{{{1}}}


The template documentation below is transcluded from Template:Code/doc [edit]

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