Module:Comic

local p = {} function p.comicSwitcher(frame, reference) -- Get comic value entered from template local comic if reference and frame.args["comic"] then comic = frame.args["comic"] elseif reference and not isnotempty(frame.args["comic"]) then return " Undefined Comic " else comic = frame.args[1] end -- VMO --- if comic == "VMO1" then comicName, CxEE = "Vox Machina Origins 1|Vox Machina Origins #1" else return comic end return comicName end -- function to determine that a variable has a value function isnotempty(s) return s ~= nil and s~= '' end return p