This package contains objects used by Nodes, but are not nodes themselves. This includes the parameters of Templates or the attributes of HTML tags.
Bases: mwparserfromhell.string_mixin.StringMixIn
Represents an attribute of an HTML tag.
This is used by Tag objects. For example, the tag <ref name="foo"> contains an Attribute whose name is "name" and whose value is "foo".
Bases: mwparserfromhell.string_mixin.StringMixIn
Represents a paramater of a template.
For example, the template {{foo|bar|spam=eggs}} contains two Parameters: one whose name is "1", value is "bar", and showkey is False, and one whose name is "spam", value is "eggs", and showkey is True.