Difference between revisions of "Template:Code"
Jump to navigation
Jump to search
(Explain what to do if the code contains equals signs) |
m (moved Template:code to Template:Code: move to Uppercase) |
Revision as of 14:51, 18 September 2012
{{{1}}}
Print inline code, but wrapping it in a template makes changing easier. If the code contains any equal sign at all, use this idiom:
{{code|stuff}} % most cases {{code|1=location=stuff}} % if there is any equals sign at all in the code
or fall back on the ...</code>
tags.