Created page with "<div style="margin-left:2em; margin-right: 2em;>''{{{1}}}''</div> <!-- The wikipedia templates uses :, which generated dd and dt tags. That is not ideal for accessibility. --><noinclude> This is a general purpose template for all kind of [https://en.wikipedia.org/wiki/Wikipedia:Hatnote hatnotes]. '''Hatnotes''' are a small annotation above a page or a section that can help the reader navigate. It's used for example to clarify what a section is about and link to other pag..."
 
Category
Line 25: Line 25:
"description": "Adds a annotation for the reader about the content that follows. Usually used after a heading."
"description": "Adds a annotation for the reader about the content that follows. Usually used after a heading."
}
}
</templatedata></noinclude>
</templatedata>
[[Category:Templates]]
</noinclude>

Revision as of 21:18, 5 October 2022

{{{1}}}

This is a general purpose template for all kind of hatnotes. Hatnotes are a small annotation above a page or a section that can help the reader navigate. It's used for example to clarify what a section is about and link to other pages the reader may want to read.

Example usage

=== Heading ===
{{hatnote|This section is about headings in text, for the human body part see [[Head|Head]]. <br> For the the first level heading see the main article [[Headline]].</br> H1 redirects here, for the car see [[Hyundai#H1|Hyundai H1]].}}
The first sentence of the section is here.

Heading

This section is about headings in text, for the human body part see Head.
For the the first level heading see the main article Headline.
H1 redirects here, for the car see Hyundai H1.

The first sentence of the section is here.

Adds a annotation for the reader about the content that follows. Usually used after a heading.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
content1

the content of the note

Example
For the xxx see [[yyy]].
Unknownoptional