Modul:Hatnote: Unterschied zwischen den Versionen
Add navigation-not-searchable class per request (also see T164781)
(Non-breaking space after "§" in _formatLink() to match Module:Section link; might not be a bad idea to require() that module but this is a good start) |
|||
| Zeile 204: | Zeile 204: | ||
checkType('_hatnote', 2, options, 'table', true) | checkType('_hatnote', 2, options, 'table', true) | ||
options = options or {} | options = options or {} | ||
local classes = {'hatnote'} | local classes = {'hatnote', 'navigation-not-searchable'} | ||
local extraclasses = options.extraclasses | local extraclasses = options.extraclasses | ||
local selfref = options.selfref | local selfref = options.selfref | ||