FANDOM


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 = '<div class="footer-item">¶²{HeadingA¦Main Characters}²¶'
		dplargs.order = 'ascending'
    elseif level == 'supporting' then
		dplargs.category = story .. ' (story)/Characters/Supporting'
		dplargs.notcategory = story .. ' (story)/Characters/Main'
		dplargs.resultsheader = '<div class="footer-item">¶²{HeadingA¦Supporting and Guest Characters}²¶'
		dplargs.order = 'descending'
	end
	dplargs.resultsfooter = '</div>'
	dplargs.noresultsheader = '¶'
	dplargs.ordermethod = 'sortkey'
	dplargs.allowcachedresults = 'true'
	return frame:expandTemplate{ title = '#dpl', args = dplargs }
end
 
function Story.episodes( frame )
--
end
 
return Story

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.