Template:Hatnote group/doc

This template applies Module:Hatnote group to merge hatnotes it is given as input; this has the net effect of making them formatted inline relative to one another. For example:

would normally display as:

but, when wrapped in this template:

displays as

Technically, it changes the hatnotes by converting their  wrappers into  wrappers, wrapping the group in a new hatnote , and migrating classes appropriately. Classes are migrated to the appropriate, unless every hatnote in the group includes that class, in which case the class will be migrated to the new   wrapper. For example:

would normally be rendered to:

but, when wrapped in this template, becomes: