Output data for an expander.mal2html.ui.expander.data

Output data for an expander.

Parameters <code>node</code>

The source element to output data for.

<code>expander</code>

Whether node is actually an expander.

This template outputs an HTML div element with the class attribute set to "yelp-data yelp-data-ui-expander". All yelp-data elements are hidden by the CSS. The div contains information about text directionality, the default expanded state, and optionally additional titles for the expanded and collapsed states.

The expander information is only output if the expander parameter is true. This parameter can be calculated automatically, but it will give false negatives for blocks that produce automatic titles.

Calls Templates

Calls Modes