Dplmatrix/test matrix

Test Matrix
Below is an example of a test matrix.

Generating a matrix from an indented list
Input is: one apple apricot two Two banana three four grape mango MANGO two Two mango MANGO

Output is:
 * "from" items ("source") start in col 1
 * "to" items ("target") are indented by at least one space
 * source appears in input sequence
 * target is sorted by alphabet
 * items are treated as pages and shown as a link
 * the label can be defined by adding it after the iterm, separated by ""
 * symbols for "yes" and "no" can be defined
 * via the stylesheet in Mediawiki:Common.css you can control the layout (class=dplmatrix)

Links to DPL Manual pages
Now we use two nested DPL queries and what would be a separate page, Test matrix2, to generate the indented list:

Result:

Contents of Test matrix2: