Template:Code

Use this template when you want to display code, for example :

REMARK:
 * 1) Since a content that includes an equals sign (=) is interpreted as a variable, you must specify the code parameter explicitly to avoid issues (as in the above example)
 * 2) If the macro code content the characters : "|" (Vertical bar) or "{ }"  (Closing brace or Opening brace) not use this template (the macro code is dislocated an erroneous), use the HTML code   ...

This template gives a different coloration depending on the used programming language. The default language is Python.

Options:


 * lang=python
 * lang=cpp
 * lang=java
 * lang=pascal

Other options are be supported: the template is a simple wrapper around the  tag to show syntax-highlighted text. Unlike, text that does not fit on the screen will be wrapped. See  for a complete list of supported languages

Warning: SyntaxHighlight disabled because not working anymore on our host. Original template: