Anonymous user
Examples/Module: dplmatrix (example 1): Difference between revisions
Examples/Module: dplmatrix (example 1) (view source)
Revision as of 05:20, 11 April 2023
, 1 year agono edit summary
imported>FrozenPlum (Move example, this is a hard one to describe what's going on, might take multiple edits) |
imported>FrozenPlum mNo edit summary |
||
Line 5:
-->
==Example==
This uses the {{DPL|dplmatrix|#dplmatrix}} module to create a matrix, whose name is set to "Title". The second, third, and fourth values are left blank so each one defaults: the second defaults to ''<code>x</code>'' (indicating a link
The fifth parameter specifies the indented list contents. First listed (non-indented, as row title) are article names as the ''source'', and then the (indented) article names as the ''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.
|