Template:Code

From Wiki
Revision as of 02:37, 2 July 2012 by Esteis (talk | contribs) (Explain what to do if the code contains equals signs)
Jump to navigation Jump to search

{{{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.