Module:Episode table: Difference between revisions

Content deleted Content added
Restore; revert was not part of BRD as explained in discussion, and no support has been provided for not including this update.
Update caption visibility per consensus
Line 103:
-- Caption
if args.captionshow_caption then
-- Visible caption option, with a tracking category
root:tag('caption'):wikitext(args.caption)
categories = categories .. '[[Category:Articles using Template:Episode table with a visible caption]]'
elseif args.caption then
-- If a visible caption isn't defined, then default to the screenreader-only caption
root:tag('caption'):wikitext(frame:expandTemplate{title='sronly',args={args.caption}})
end