Template:Hatnote: Difference between revisions

m
using an italics tag instead of the double quote mark is apparently more robust across linebreaks
m (doc wording)
m (using an italics tag instead of the double quote mark is apparently more robust across linebreaks)
 
Line 1: Line 1:
<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|If you're looking for a disambiguation template, you've come to the right place!}}</noinclude><includeonly>:<span class="noexcerpt"><i>{{{1}}}</i></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. 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).
<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>