Examples/Module: dplmatrix (example 2)

Example
This uses the module to create a matrix, whose first parameter (name) is set to "Page". The second parameter is set to  (indicating a link/marker), the third is set to   (indicating no link/marker), and the fourth is set to   (the matrix layout mode) to flip what is in normal column position to rows instead.

The fifth parameter specifies the indented list contents. Since the mode is flipped, the first items listed (non-indented, as column titles) are article names as the source, and then the (indented) article names as the row title targets. From this, DPL3 determines which target is listed under which source. For example, the "apple" article appears in both the "one" and "Two" source sections of the indented list provided, so they are each marked with an "x" by DPL3 in the corresponding table column and row.