From Wikibooks, open books for an open world
Jump to navigation Jump to search
Computer code {{{1}}}

A simple template for marking a code example in the text. (See the Template:Code for more options.)


{{XCode|Content of a computer code.}}
{{XCode|1=A code, which contains formatting characters as =, must be preceded with "1=" in the template.}}

There are also similar: Template:XNote, Template:XConsole, Template:XWarning and Template:XExample.