Module:Episode list: Difference between revisions

Content deleted Content added
Add class "expand-child"
Add checks for Category:Episode lists with TBA values (category to check for values that use "TBA", despite the cell automatically using {{TableTBA}} when empty).
Line 40:
local page_title = mw.title.getCurrentTitle().text
local initiallist_title = args['1'] or ''
local cellValueTBA = false
-- Is this list on the same page as the page directly calling the template?
Line 225 ⟶ 226:
table_row:node(td_tags[v])
end
if args[v] == "TBA" then cellValueTBA = true end
end
 
Line 260 ⟶ 262:
end
end
if cellValueTBA == true then categories = categories .. "[[Category:Episode lists with TBA values]]" end
-- Do not show the summary if this is being transcluded on the initial list page