Module:Story

local Story = {}

function Story.characters( frame ) local story = frame.args['story'] local level = frame.args['level'] local dplargs = {} dplargs.include = '{Infobox character¦Portrayer list taglined}' dplargs.format = ',* ,¶,' if level == 'main' then dplargs.category = story .. ' (story)/Characters/Main' dplargs.resultsheader = ' ¶²{HeadingA¦Main Characters}²¶' dplargs.order = 'ascending' elseif level == 'supporting' then dplargs.category = story .. ' (story)/Characters/Supporting' dplargs.notcategory = story .. ' (story)/Characters/Main' dplargs.resultsheader = ' ¶²{HeadingA¦Supporting and Guest Characters}²¶' dplargs.order = 'descending' end dplargs.resultsfooter = ' ' dplargs.noresultsheader = '¶' dplargs.ordermethod = 'sortkey' dplargs.allowcachedresults = 'true' return frame:expandTemplate{ title = '#dpl', args = dplargs } end

function Story.episodes( frame ) -- end

return Story