Template:Ghat/doc

Usage
This template is used in template-structured glossaries with the defn template to provide an explanatory hatnote for a term. It can also be used in manually coded HTML description lists.


 * It must be used at the top of, i.e., a (or manual  markup) that pertains to the , usually at the top of the first one unless it only pertains to a specific definition.
 * It be used between the  and  (i.e., between  and ), or inside  (), or it will break the glossary (description list) markup.

Inline (e.g. ) or after-content (e.g. ) note templates can be used inside definitions normally. The purpose of template is prevent the excessive indentation of hatnotes at the top of the definition.

For those, use crossreference. (This template does not use the CSS class .)

When used with a multi-definition term, the definition in which the appears must be manually numbered (usually , as shown in the example below).

Example
Results in:

colour ball: 1. In snooker, any of the that are not. In blackball, a generic, collective term for the red and yellow of object balls.