Dplmatrix

This function is a side entry into DPL for which there are five parameters required in a specific order, the last of which is an indented list of article names that must be passed to DPL3 to generate a matrix view. With copy/paste a matrix can be easily transferred to Excel to polish it there, like turning column texts to vertical, highlighting cells etc.

Syntax
where:


 * 1)   – The desired name of the matrix. Appears in the upper left cell. Arbitrary wiki formatting, even images, are possible.
 * 2)   – The desired text/symbol indicating a link – (default is ).
 * 3)   – The desired text/symbol indicating the absence of a link – (default is empty).
 * 4)   – The mode to display rows and columns in. Accepted mode values are:
 * 5) *  – When specified, rows and columns are reversed or flipped.
 * 6) *  – Normal display  – (default)
 * 7)   The indented list of article names.
 * 8) * Source articles must start in column 1.
 * 9) ** In the mode, these articles populate the first cell of rows, and either link to or don't, the articles listed in column headers as indicated by link symbols.
 * 10) * Target items must be indented by at least one space (in mode, they populate column headers).
 * 11) * After the article name may be used to set article title. Row and column headers hyperlink to the articles if titles are specified they are used instead.
 * 12) * Lines which are empty or contain only spaces are silently ignored.
 * 13) * If a source line is not followed by one or more target lines, an empty table row (or column in flip mode) is shown.
 * 14) * If the same source line appears multiple times, the targets are joined (added).

Examples
The best way to understand how #dplmatrix functions, is to view described examples, such as the ones included below. The first examples illustrate manually created indented lists, to better understand the basic matrix functions. The idea, however, is to use DPL3 to generate indented lists automatically, and also mark the links between them automatically, which is demonstrated in the last example.

Example 1:

Result:

Example 2:

Result:

Example 3:

Result: