Yelp

(The Help System)

mal2html.tree.mode

Process an item element inside a tree.

Parameters

lines

Whether to draw lines indicating hierarchy.

prefix

The line markers used by the parent item.

This mode is used for processing item elements in tree elements. It is applied by the template for tree and recursively calls itself. If the parent tree has the style hint "lines", the lines parameter will be true. In this case, this template calculates a prefix based on its position and neighboring item elements, and passes that prefix to child elements.