Module:Episode list: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 107:
local function add_title()
iflocal argstitle_s = arg.Title thenor ''
local title_string = '"'..args.Titletitle_s..'"'
if args.RTitle then
title_string = title_string..args.RTitle
end
if args.AltTitle then
title_string = title_string..'<br>"'..args.AltTitle..'"'
end
if args.RAltTitle then
title_string = title_string..args.RAltTitle
end
return title_string
end
return title_string
end
 
Line 128 ⟶ 127:
nonnil_params = nonnil_params + 1
td_tags[v] = mw.html.create('td')
td_tags[v]:wikitext(args[v])
ifelseif v == 'Title' then
local title_text = add_title()
td_tags[v]:wikitext(title_text)
:addClass('summary')
:css('text-align','left')
else
td_tags[v]:wikitext(args[v])
end
table_row:node(td_tags[v])
end