Module:Hatnote inline: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
cleanup code since changes to Mediawiki:Common.css
(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
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu