Module:Tree chart/documentation

From The Languages of David J. Peterson
Revision as of 04:41, 29 December 2023 by Juelos (talk | contribs) (Created page with "{{High-use}} == Usage == Implements Template:Tree chart; Full documentation on chart syntax exists at Template:Tree chart/doc This module uses the mw.html library to...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation for Module:Tree chart. [edit]
This page contains usage information, categories, interwiki links and other content describing the module.

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: t for the "top" row and b 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.