Template:DDiv

 

Parameters

 * The heading text: It should be placed immediately after the first cell bar, on the same line.
 * The code lines:  The entire code block should be placed in the line following the second cell bar, then apply Numbered List to it.

Example

 * Note: Code lines MUST be given numbers using the numbered lists function in toolbars. The template is made for adding numbered lines to code, and cannot be used without the  addition of numbers to stabilise the pre-formatting.
 * Refer to the example below for the layout to use.
 * Do not use parameter numbers. The first parameter is the heading and the second the code block.
 * To avoid distortion of the layout do not deviate from that below. That is; place the heading between two bars and the entire code block on the next line.
 * Select all of the lines of code and apply the Numbered List to it, from the toolbar.
 * As an alternative to numbered lists, use tags around the entire code block like > instead, and if no line numbers are needed, just miss out the line attribute, and possibly the highlight attribute.