Difference between revisions of "Template:Code"

From Wiki
Jump to navigation Jump to search
(A flexible synonym for the <code> tags)
 
(Try to fix a problem with equals signs)
Line 1: Line 1:
<code>{{{1}}}</code>
+
<code>{{{1}}}{{{2}}}</code><noinclude>
 +
----
 +
 
 +
Print inline code, but wrapping it in a template makes changing easier. To handle bits of <code>a=b</code> code:
 +
 
 +
    <nowiki>{{code|location|=stuff}}</nowiki>
 +
 
 +
</noinclude>

Revision as of 02:29, 2 July 2012

{{{1}}}{{{2}}}


Print inline code, but wrapping it in a template makes changing easier. To handle bits of a=b code:

   {{code|location|=stuff}}