Content deleted Content added
rv, can be resurrected if needed |
let's try this |
||
Line 303:
end
if date then
self.date = string.format(" <span class='date-container'>
end
self.info = args.info
Line 352:
-- set templatestyles
self.templatestyles = args.templatestyles
self.base_templatestyles = cfg.templatestyles
end
Line 486 ⟶ 487:
))
end
root:wikitext(frame:extensionTag{
name = 'templatestyles',
args = { src = self.base_templatestyles },
})
-- Add support for a single custom templatestyles sheet. Undocumented as
-- need should be limited and many templates using mbox are substed; we
-- don't want to spread templatestyles sheets around to arbitrary places
▲ local frame = mw.getCurrentFrame() -- we'll need this unconditionally for the TODO
if self.templatestyles then
root:wikitext(frame:extensionTag{
|