Template:Hatnote group
![]() | This template uses Lua: |
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:
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
would normally display as:
but, when wrapped in this template:
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
displays as
Technically, it changes the hatnotes by converting their div
wrappers into span
wrappers, wrapping the group in a new hatnote div
, and migrating classes appropriately. Classes are migrated to the appropriate span
, unless every hatnote in the group includes that class, in which case the class will be migrated to the new div
wrapper. For example:
<syntaxhighlight lang="wikitext">
</syntaxhighlight>
would normally be rendered to:
<syntaxhighlight lang="html">
</syntaxhighlight>
but, when wrapped in this template, becomes:
<syntaxhighlight lang="html">
</syntaxhighlight>
TemplateData
TemplateData for Hatnote group
Parameter | Description | Type | Status | |
---|---|---|---|---|
Hatnote group content | 1 | Two or more hatnote template invocations, and nothing else. | String | required |