Yelp

(The Help System)

html.class.attr

Parameters

$node

The source node for which an HTML element is being output.

$class

The value of the class attribute provided by the calling template.

This template is called by templates that output an HTML element corresponding to a source element. This template applies html.class.attr.mode to $node to gather a value from extensions stylesheets. It combines this value with the value passed in the $class parameter and, if the result is non-empty, outputs a class attribute.

Calls Modes