440
edits
(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) |
m (1 revision imported from wikipedia:Module:Hatnote) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 293:
end
return string.format(
'%s<div role="note" class="%s">%s</div>',
mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = 'Module:Hatnote/styles.css' }
},
table.concat(classes, ' '),
s
|