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...")
 
(better documentation, including a sample of the hatnote)
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: the preview you get when pointing to [[Oni]] should start with the text "Oni is…", not the hatnotes which point to other pages with "Oni" in their title).
 
[[Category:Header and footer templates]]</noinclude>
[[Category:Header and footer templates]]</noinclude>

Revision as of 14:50, 21 July 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: the preview you get when pointing to Oni should start with the text "Oni is…", not the hatnotes which point to other pages with "Oni" in their title).