Jump to content

Template:Hatnote

Permanently protected template
From Meta, a Wikimedia project coordination wiki
{{{1}}}
Template documentation

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.

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
text1

Text of the hatnote

Contentrequired
extra classesclass

Extra CSS classes to be added to the <div> tags surrounding the hatnote text

Lineoptional
languagelang

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}}.

Lineoptional