Difference between revisions of "Template:Code"

From Wiki
Jump to navigation Jump to search
(A flexible synonym for the <code> tags)
 
m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<code>{{{1}}}</code>
+
<code>{{{1}}}</code><noinclude>
 +
{{documentation}}
 +
</noinclude>

Latest revision as of 19:52, 11 February 2020

{{{1}}}

[edit] [history] [purge] Documentation icon Template documentation

Print inline code, but wrapping it in a template makes changing easier.

{{code|stuff}}

If the code contains any equal sign at all, use this idiom:

{{code|1=location=stuff}}

or fall back on the <code>...</code> tags.