Content deleted Content added
move is_mini |
allow for injection of a caller_templatestyles |
||
Line 151:
end
-- Not widely used but can/should be used to replace various style parameters
local caller_templatestyles = args.callertemplatestyles
if templatestyles_after then
caller_templatestyles = mw.getCurrentFrame():extensionTag {
name = 'templatestyles', args = { src = caller_templatestyles }
}
else
caller_templatestyles = ''
end
-- TODO: Support some limited parameters worth of templatestyles so that
-- these styles can be easily overridden if desired.
return mw.getCurrentFrame():extensionTag {
name = 'templatestyles', args = { src = cfg.templatestyles }
} .. caller_templatestyles .. tostring(div:done())
end
|