Template:Hatnote: Difference between revisions
Appearance
mNo edit summary |
m minor formating |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
From https://en.wikipedia.org/wiki/Template:Hatnote under CC BY-SA 4.0 | {{Hatnote|From https://en.wikipedia.org/wiki/Template:Hatnote under CC BY-SA 4.0 }} | ||
This template produces formatted text, following the guideline for a Wikipedia hatnote: | This template produces formatted text, following the guideline for a Wikipedia hatnote.Broadly speaking, a hatnote should answer a reader's question (maybe preemptively): ''Am I on the right page?'' | ||
< | == Usage/Example == | ||
Adding this temlpate under a header | |||
<blockquote> | |||
==Header == | |||
<nowiki>{{Hatnote|Example hatnote text.}}</nowiki> | |||
</blockquote> | |||
Produces this result | |||
<blockquote> | |||
==Header == | |||
{{Hatnote|Example hatnote text.}} | |||
</blockquote> | |||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#invoke:Hatnote|hatnote}}</includeonly> | <includeonly>{{#invoke:Hatnote|hatnote}}</includeonly> |
Revision as of 13:50, 26 February 2025
This template produces formatted text, following the guideline for a Wikipedia hatnote.Broadly speaking, a hatnote should answer a reader's question (maybe preemptively): Am I on the right page?
Usage/Example
Adding this temlpate under a header
Header
{{Hatnote|Example hatnote text.}}
Produces this result
Header