Difference between revisions of "Template:Code"
Jump to navigation
Jump to search
(Hopefully I didn't break anything, but documentation via the /doc is preferable.) |
|||
Line 1: | Line 1: | ||
− | + | <includeonly><code>{{#tag:nowiki|{{{1|}}}}}</code></includeonly><noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 12:41, 31 October 2020
Description[edit]
This template can be used to display text as in-line code.
Example Usage[edit]
The line:
{{Code | CODE CONTENT GOES HERE }}
Results in:
CODE CONTENT GOES HERE
Alternative[edit]
It is possible to just use the html tags directly, as they are not that long:
<code>CODE CONTENT GOES HERE</code>
The above documentation is transcluded from Template:Code/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |