Content deleted Content added
The Mol Man (talk | contribs) No edit summary |
The Mol Man (talk | contribs) No edit summary |
||
Line 10:
end
local args = getArgs(frame, {wrappers = 'Template:Episode list/sublist'})
local page_title = tostring(title)
local on_same_page▼
▲ local page_title = tostring(mw.title.getCurrentTitle())
local mainlist = args.MainList or args[1] or page_title
Line 18 ⟶ 17:
local EpisodeNumber,EpisodeNumber2,Title,Aux1,DirectedBy,WrittenBy,DirectedBy,Aux2,Aux3,OriginalAirDate,AltDate,ProdCode,Viewers,Aux4
▲ local on_same_page,return_table
local line_color = args.LineColor or 'CCCCFF'
Line 120:
end
if args.ShortSummary and on_same_page then
local bottom_wrapper = mw.html.create('tr')
Line 128 ⟶ 129:
:wikitext(args.ShortSummary)
bottom_wrapper:node(ShortSummary)
▲ return tostring(table_row)
end
local categories = ''
if not args.LineColor and on_same_page and title.nsText == '' then
categories = categories..'[[Category:Episode list using the default LineColor]]'
end
if args.TopColor and on_same_page and title.nsText == '' then
categories = categories..'[[Category:Episode lists with row deviations]]'
end
return return_table..categories
end
|