Module:Infobox television season name/sandbox2: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 315:
local getArgs = require("Module:Arguments").getArgs
local args = getArgs(frame)
if args.italic_title then
return title""
end
 
local title = getTitle(frame)
title = getShowName(getTitleWithoutDisambiguation(title))
 
if string.find(title, "List of") then
return "no"
else
return title
end
 
italicTitle = frame:expandTemplate{title = "Italic title", args = {string = title}}
return italicTitle
end