require("strict")
local getArgs = require("Module:Arguments").getArgs
local p =
local tvSeriesNameList =
local FRANCHISE = "Arrowverse"
--Local function which handles the main operation.--local function main(args, objectType) local franchiseHandlerModule = require("Module:Fiction redirect category handler/Franchise/sandbox") return franchiseHandlerModule.main(args, objectType, FRANCHISE, tvSeriesNameList)end
--arrow= — optional; Any value will tag the redirect as belonging to Arrow. -- |flash= — optional; Any value will tag the redirect as belonging to The Flash. -- |constantine= — optional; Any value will tag the redirect as belonging to Constantine. -- |legends= — optional; Any value will tag the redirect as belonging to Legends of Tomorrow. -- |supergirl= — optional; Any value will tag the redirect as belonging to Supergirl. -- |vixen= — optional; Any value will tag the redirect as belonging to Vixen. -- |ray= — optional; Any value will tag the redirect as belonging to Freedom Fighters: The Ray. -- |batwoman= — optional; Any value will tag the redirect as belonging to Batwoman. -- |black_lightning= — optional; Any value will tag the redirect as belonging to Black Lightning.
Notes: -- A: The redirect will automatically be tagged with "R from fictional character", "R from fictional element" or "R from fictional location", depending on the function used, and be placed in the category "Arrowverse (object) redirects to lists". -- B: Using any of the series parameters will place the redirect in a series-specific category: "(series) (object) redirects to lists". -- F: If the redirect does not use one of the following correct disambiguation — "Arrowverse", "Arrowverse character", "Arrowverse element" or "Arrowverse character" — the redirect will be tagged with "R from incorrect disambiguation" and "R unprintworthy". --
function p.character(frame) local args = getArgs(frame) return main(args, "character")end--function p.element(frame) local args = getArgs(frame) return main(args, "element")end
--function p.location(frame) local args = getArgs(frame) return main(args, "location")end
--Public function which is used to return a list of Arrowverse shows.--function p.getSeriesList return tvSeriesNameListend
--Public function which is used to return a franchise name.--function p.getFranchiseName return FRANCHISEend
--Public function which is used for the testcases.--function p.testSeriesName(frame) local args = getArgs(frame) local franchiseHandlerModule = require("Module:Fiction redirect category handler/Franchise/sandbox") return franchiseHandlerModule.testSeriesName(args, FRANCHISE, tvSeriesNameList)end
return p