NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

Template:Box Code

From Texas Instruments Wiki
Jump to: navigation, search

Description[edit]

The box code template creates a colored box containing a code fragment. The box is labeled with a description of the fragment.

Parameters[edit]

{{Box Code|Description|CodeFragment}}

The template takes two parameters:

  • Description, a description of the code fragment. This parameter is required.
  • CodeFragment, the code fragment. This should be surrounded by tags like <code></code> or <pre></pre> to indicate that it is preformatted text. This parameter is required.

Example[edit]

An example of a recursion function call:

Code: An example of a recursive function call

{{{2}}}