Template:Hatnote
- English
- español
- 日本語
- français
- 中文
- русский
- italiano
- português
- Nederlands
- العربية
- аԥсшәа
- Acèh
- Afrikaans
- None
- Ænglisc
- अंगिका
- ܐܪܡܝܐ
- الدارجة
- مصرى
- অসমীয়া
- asturianu
- авар
- azərbaycanca
- تۆرکجه
- башҡортса
- Basa Bali
- Batak Toba
- Bikol Central
- Bajau Sama
- беларуская
- беларуская (тарашкевіца)
- Betawi
- български
- भोजपुरी
- Banjar
- বাংলা
- བོད་ཡིག
- বিষ্ণুপ্রিয়া মণিপুরী
- brezhoneg
- bosanski
- Batak Mandailing
- Basa Ugi
- буряад
- català
- 閩東語 / Mìng-dĕ̤ng-ngṳ̄
- нохчийн
- Cebuano
- Chamoru
- کوردی
- чӑвашла
- Cymraeg
- dansk
- Zazaki
- डोटेली
- ދިވެހިބަސް
- Ελληνικά
- eesti
- euskara
- فارسی
- føroyskt
- Gaeilge
- galego
- گیلکی
- गोंयची कोंकणी / Gõychi Konknni
- ગુજરાતી
- farefare
- gungbe
- Gaelg
- Hausa
- 客家語 / Hak-kâ-ngî
- Hawaiʻi
- हिन्दी
- Fiji Hindi
- magyar
- հայերեն
- Արեւմտահայերէն
- interlingua
- Bahasa Indonesia
- Igbo
- Ilokano
- гӀалгӀай
- Ido
- íslenska
- Jawa
- Kongo
- Kumoring
- қазақша
- ភាសាខ្មែរ
- ಕನ್ನಡ
- 한국어
- kurdî
- кыргызча
- Latina
- Ladin
- lingála
- ລາວ
- Madhurâ
- मैथिली
- Basa Banyumasan
- мокшень
- Malagasy
- Māori
- Minangkabau
- македонски
- മലയാളം
- монгол
- ဘာသာမန်
- मराठी
- Bahasa Melayu
- Mirandés
- မြန်မာဘာသာ
- नेपाली
- नेपाल भाषा
- Sesotho sa Leboa
- ଓଡ଼ିଆ
- ирон
- ਪੰਜਾਬੀ
- Kapampangan
- पालि
- پنجابی
- پښتو
- ikirundi
- română
- русиньскый
- संस्कृतम्
- саха тыла
- sicilianu
- Scots
- سنڌي
- srpskohrvatski / српскохрватски
- တႆး
- සිංහල
- Simple English
- slovenščina
- anarâškielâ
- chiShona
- Soomaaliga
- shqip
- српски / srpski
- Sunda
- ꠍꠤꠟꠐꠤ
- Sakizaya
- தமிழ்
- ᥖᥭᥰ ᥖᥬᥲ ᥑᥨᥒᥰ
- తెలుగు
- тоҷикӣ
- ไทย
- Türkmençe
- Tagalog
- Setswana
- Türkçe
- татарча / tatarça
- тыва дыл
- удмурт
- українська
- اردو
- oʻzbekcha / ўзбекча
- Tiếng Việt
- Volapük
- 吴语
- isiXhosa
- მარგალური
- Yorùbá
- 閩南語 / Bân-lâm-gí
- 粵語
- isiZulu
![]() | This template uses TemplateStyles: |
This template produces formatted text, following the guideline for a hatnote.
{{hatnote|Example hatnote text.}}
→
Broadly speaking, a hatnote should answer a readers' question (maybe preemptively): Am I on the right page?
Function
This template is primarily used to add a correctly formatted hatnote to a page. Often, but not always, this is a disambiguation link at the top of article pages. It places an HTML div-
/ div
block around the text entered as its only argument, which provides standardized formatting (contents are indented and italicized in most displays); it also isolates the contained code to make sure that it is interpreted correctly.
This template is also used as the "meta-template" for additional specialized disambiguation link templates.
The template does not automatically create links of any kind. Links and other desired formatting must be explicitly added, using normal Wikipedia markup.
Usage
{{hatnote|text}}
Parameters
This template accepts the following parameters:
1
- the hatnote text (required)
Example
{{hatnote|Example hatnote text}}
→Example hatnote text
Technical details
The HTML code produced by this template looks like this:
<div role="note" class="hatnote">
hatnote text</div>
Hatnote
Template for creating a standard hatnote. A hatnote is a short note placed at the top of an article or section to direct users to related pages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | 1 text | This field should contain the text that will be displayed in the hatnote.
| String | required |
Extra classes | extraclasses | Comma-separated list of CSS class names. | String | optional |
Editors can experiment in this template’s sandbox (create | mirror) and testcases (create) pages.
Please add categories to the /doc subpage. Subpages of this template.