Module:MediaType

local MT = {}

function MT.showtype(frame) local itype = frame.args[1] or frame.args["itype"] local otype = string.lower(itype) otype2 = string.match(otype, 'movie*') if (otype2 == "movie") then otype3 = "Movie" MT = "" end otype2 = string.match(otype, 'ona*') if (otype2 == "ona") then otype3 = "ONA" MT = "" end otype2 = string.match(otype, 'ova*') if (otype2 == "ova") then otype3 = "OVA" MT = "" end otype2 = string.match(otype, 'television*') if (otype2 == "television") then otype3 = "Television" MT = "" end end

return MT --