Module:Hatnote inline: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(forcing style that will eventually be in the class)
(cleanup code since changes to Mediawiki:Common.css)
Line 191:
checkType('_hatnoteInline', 1, s, 'string')
checkType('_hatnoteInline', 2, options, 'table', true)
local classes = {'hatnote-inline'}
local extraclasses = options.extraclasses
local selfref = options.selfref
Line 201:
end
return string.format(
'<span style="font-style:italic;" class="%s">%s</span>',
table.concat(classes, ' '),
s