Content deleted Content added
Update |
Reduce WP:PEIS a bit as graphs are very markup-heavy. |
||
Line 187:
-- Add timeline to div
if args.no_graph == nil then
timeline[1] = ''
-- This reduces the [[WP:PEIS]]. [[Module:Graph:Chart]] pretends to be
-- [[Template:Graph:Chart]], and we pass it a modified frame with the
-- arguments we would have sent to [[Template:Graph:Chart]].
local oldArgs = frame.args
frame.args = timeline
root:wikitext(require('Module:Graph:Chart')[''](frame))
frame.args = oldArgs
root:tag('div'):css('clear','both')
end
|