Module:Hatnote: Difference between revisions
Jump to navigation
Jump to search
we templatestyles now
>Mr. Stradivarius (parse pages for section-only links as nil - this prevents section-only links that have an italicized page parameter from having empty <i></i> tags) |
(we templatestyles now) |
||
Line 293: | Line 293: | ||
end | end | ||
return string.format( | return string.format( | ||
'<div role="note" class="%s">%s</div>', | '%s<div role="note" class="%s">%s</div>', | ||
mw.getCurrentFrame():extensionTag{ | |||
name = 'templatestyles', args = { src = 'Module:Hatnote/styles.css' } | |||
}, | |||
table.concat(classes, ' '), | table.concat(classes, ' '), | ||
s | s |