Template:Code: Difference between revisions
m (Minor code update.) |
Beardgoggles (talk | contribs) m (Removed margin spacing.) |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<code style=" | <code style="color: {{{color|black}}}; border: 1px solid #ddd; border-radius: 0.25em; padding: 0.1em 0.33em; font-weight: normal;">{{{text|{{{1}}}}}}</code><noinclude> | ||
==Description== | |||
Use for inserting '''''inline''''' code, i.e. as part of a sentence. For blocks of code, use the {{code|<nowiki><pre></pre></nowiki>}} tags. | |||
==Usage== | |||
<pre style="display:table">{{code|1}}</pre> | |||
Replace "1" with the code to display. | |||
</noinclude> |
Latest revision as of 16:39, 11 March 2021
{{{1}}}
Description
Use for inserting inline code, i.e. as part of a sentence. For blocks of code, use the <pre></pre>
tags.
Usage
{{code|1}}
Replace "1" with the code to display.