Template:Hatnote
Appearance
| It has been suggested that this page be merged with Template:Dablink (discuss). |
{{{1}}}
| This template uses TemplateStyles: |
This template can be used to create a “hatnote”, a short note placed at the top of an article to provide disambiguation of closely related terms or summarise a topic, explaining its boundaries.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| text | 1 | Text of the hatnote | Content | required |
| extra classes | class | Extra CSS classes to be added to the <div> tags surrounding the hatnote text | Line | optional |
| language | lang | MediaWiki language code of the language the hatnote is in, causes machine-readable markup to be added (this is important for accessibility and correct formatting). It’s mainly for use in hatnote templates; non-template pages can usually depend on the language being specified at a higher level. Templates using the Translate extension can specify this as {{TRANSLATIONLANGUAGE}}. | Line | optional |