Template:Code/doc
< Template:Code
Revision as of 16:21, 17 January 2013 by Cottrells (talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE. --> Wraps a short span of text in {{tag|code}} tags. This template should be used...")
![]() |
This is a documentation subpage for Template:Code (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
Wraps a short span of text in <code>...</code>
tags. This template should be used for short samples; longer content should use <pre>...</pre>
or <source>...</source>
. See Help:Wiki markup for an explaination of what the various tags do.
If the code content includes an equals sign (=), you must specify the parameter explicitly: {{code|1=date=30 Feb 2010}}
.
This template does not need to be substituted.
See also[edit source]
- {{nowiki}}
- {{pre}}
- {{tag}}
- Help:Wiki markup