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..."
 
Xeverything11 (talk | contribs)
m 4 revisions imported from mhdev:Template:Hatnote
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<div style="margin-left:2em; margin-right: 2em;>''{{{1}}}''</div>
<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>
<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 pages the reader may want to read.
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 pages the reader may want to read.


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:Notice templates‎]]
</noinclude>

Latest revision as of 08:21, 8 April 2025

{{{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