Template:Clade example/doc

This template is designed to aid writing documentation of the clade by showing examples of code and the executed output, with option description and comment. It creates a table with four columns:
 * a description of what the example in the row shows
 * the code wrapped in  tags,
 * the executed code, and
 * a comment on the example

Parameters
Selecting columns. Columns may be omitted optionally. The columns to be shown are indicated by the following four parameters.
 * indicates that the description column should be shown. If used with a value it will set the header (default: Description).
 * indicates that the code column should be shown. A value will be used as the header (default: Code).
 * indicates that the output column should be shown. A value will be used as the header (default: Output).
 * indicates that the comment column should be shown. A value will be used as the header (default: Commment).

Omitting the parameter omits the column. For instance, just using  and   just shows the code and output (as shown on the right).

Content of rows. The content of the rows is used using the parameters with a numerical suffix indicating the row number:
 * contains text describing the example in the first row. Similarly for |description2= ... |descriptionN.
 * contains the clade code for the first row wrapped  or   tags.
 * contains the transcluded output of the clade code. This parameter is not necessary if the code1 is wrapped in   tags, when the code1 content will be used to render the output.
 * contains a comment

Other options:
 * left | right | center

Examples
The following table uses clade example to give some example uses of the clade template system for building cladograms. use edit mode to see how it is used.