Template:Hatnote: Difference between revisions

From OniGalore
Jump to navigation Jump to search
(Created page with "<includeonly>:<span class="noexcerpt">''{{{1}}}''</span></includeonly> <noinclude>"Hatnote" is Wikipedia's term for a disambiguation note placed at the top of an article to le...")
 
m (doc wording)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly>:<span class="noexcerpt">''{{{1}}}''</span></includeonly>
<noinclude>{{Hatnote|If you're looking for a disambiguation template, you've come to the right place!}}</noinclude><includeonly>:<span class="noexcerpt">''{{{1}}}''</span></includeonly>
<noinclude>"Hatnote" is Wikipedia's term for a disambiguation note placed at the top of an article to let the reader know about similarly named articles. Any text that you wrap in this template using <nowiki>{{Hatnote|___}}</nowiki> will be indented, italicized, and marked as exempt from page preview popups.
<noinclude>"Hatnote" is Wikipedia's term for a disambiguation note placed at the top of an article to let the reader know about similarly named articles. A sample is seen directly above. This template serves two purposes: making it easy to have a consistent hatnote style around the wiki, and marking the enclosed text as exempt from page preview popups (a test of the template: the preview you get when pointing to [[Oni]] should start with the text "'''Oni''' is…", rather than showing the hatnotes which precede that sentence and point to other pages with "Oni" in their titles).
 
[[Category:Header and footer templates]]</noinclude>
[[Category:Header and footer templates]]</noinclude>

Latest revision as of 18:10, 10 October 2023

If you're looking for a disambiguation template, you've come to the right place!

"Hatnote" is Wikipedia's term for a disambiguation note placed at the top of an article to let the reader know about similarly named articles. A sample is seen directly above. This template serves two purposes: making it easy to have a consistent hatnote style around the wiki, and marking the enclosed text as exempt from page preview popups (a test of the template: the preview you get when pointing to Oni should start with the text "Oni is…", rather than showing the hatnotes which precede that sentence and point to other pages with "Oni" in their titles).