Module:Television ratings graph: Difference between revisions

Content deleted Content added
m again testing
m fix quotesz
Line 179:
timeline = timeline .. "TextData =\n"
timeline = timeline .. " pos:(" .. ((args.width or 1000)/2-18) .. ",45) textcolor:black fontsize:S text:Episode\n"
timeline = timeline .. " pos:(10," .. ((args.height or 300)-10) .. ") textcolor:black fontsize:S text:" .. (args.country or "") .. (args.country and " v" or "V") .. "iewers ('" .. multiple .. '")\n"
-- Add timeline to div
Line 195:
if args.title ~= nil and args.title ~= '' then
rtable:tag('caption'):wikitext("''" .. args.title .. "''" .. frame:expandTemplate{ title = 'hsp' } ..
": " .. (args.country or "") .. (args.country and " v" or "V") .. "iewers per episode ('" .. multiple .. '")")
else
rtable:tag('caption'):wikitext("Viewers per episode ('" .. multiple .. '")")
end