Modul:Hatnote: Unterschied zwischen den Versionen
we templatestyles now
(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) |
||
| Zeile 293: | Zeile 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 | ||