Template:Hatnote group/doc

This experimental 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  s, 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:

Hatnote 1 Hatnote 2 Hatnote 3

but, when wrapped in this template, becomes:

Hatnote 1 Hatnote 2 Hatnote 3