Formats the string as a hatnote. This encloses in the tags . Options are provided in the table. Options include: - a string of extra classes to provide - if this is not nil or false, adds the class "selfref", used to denote self-references to Wikipedia (see Template:Selfref)) The CSS of the hatnote class is defined in MediaWiki:Common.css.