Jump to content

Module:Television critical response and Module:Television critical response/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
when a multiseries, don't add to category if one of the series has only one row, that is a valid use here
 
use require('strict') instead of require('Module:No globals')
 
Line 106: Line 106:
if not args.multiseries then
if not args.multiseries then
root:css('float', 'right')
root:css('float', 'right')
root:css('clear', 'right')
root:css('margin', '10px')
root:css('margin', '10px')
end
end
Line 234: Line 233:
else
else
-- One row entries, only categorized in the mainspace
-- One row entries, only categorized in the mainspace
if not args.series and SeasonCount == 1 then
if SeasonCount == 1 then
categories = categories .. '[[Category:Articles using Template:Television critical response with only one row]]'
categories = categories .. '[[Category:Articles using Template:Television critical response with only one row]]'
end
end