Module talk:Hatnote
Inline variant
I added a test to handle an "inline
" parameter, to output hatnotes as spans instead of divs. This will have various applications. One I've already deployed is {{Ghat}}
for non-indented hatnotes atop glossary definitions (it wraps the inline hatnote span inside a <p>...</p>
; other use cases could wrap inline hatnotes inside table cells or list items or whatever, as needed). Another is {{Hatnote-inline}}
, a meta-template for inline "see also..." and "for more information...", etc., notes.
We've gone to great length to provide templated consistency for hatnotes above content, but their use embedded within content is a totally "unregulated" mess. When I get back from doing other stuff this weekend, my first use of templates based on that will be in WP:Manual of Style and its subguidelines themselves, since they make frequent use of such cross-references, but do so in a haphazard manner. Seems the best place to start, since cleaning up the style guide will be automatically exemplary. — SMcCandlish ☺ ☏ ¢ ≽ʌⱷ҅ᴥⱷʌ≼ 21:27, 23 May 2014 (UTC)