Module:Tree chart/data/doc: Difference between revisions
From Kenshi Wiki
More actions
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
[[Category:Module data]] | == Usage == | ||
Implements [[Template:Tree chart]]; Full documentation on chart syntax exists at [[Template:Tree chart/doc]] | |||
This module uses the mw.html library to create rows of table cells whose borders draw lines to show relationships between elements. When an unnamed parameter matches a key in [[Module:Tree chart/data]], the module will create a block with stylings as defined in the table. Each key in the table has a subtable with 0, 1, or 2 keys of its own: <code>t</code> for the "top" row and <code>b</code> for the "bottom row". Any unnamed parameter whose value does not exist in the table will be used to create elements on the chart, and additional named parameters for that value will be looked for. | |||
[[Category:Module data pages]] | |||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> |
Latest revision as of 22:43, 14 March 2025