Module:Image

local p = {} local h = require("Module:HF") local SC = require("Module:StaffCorrection")

function p.lua_get_info_about_image local d = require("Module:Disambiguation") local text = 'Kyle Hotz@@@@@@@@@*Earth-616*Edward Brock (Earth-616)@Venom (Klyntar) (Earth-616)@Lasher (Klyntar) (Earth-616)@Toxin (Klyntar) (Earth-616)@Agony (Klyntar) (Earth-616)@Phage (Klyntar) (Earth-616)@Sleeper (Klyntar) (Earth-616)@Carnage (Klyntar) (Earth-616)@Scream (Klyntar) (Earth-616)@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*' local cover_artists = '' local reality = '' local subjects = '' local s = '' local result = '' if h.isempty(text) == false then text = mw.text.split(text,'*') if h.isempty(text[1]) == false then cover_artists = mw.text.split(text[1],'@') for i = 1,#cover_artists do                       if h.isempty(cover_artists[i]) == false then cover_artists[i] = SC.Correction(cover_artists[i]) result = result..'|CoverArtist'..i..'='..cover_artists[i]..'\n' end end end if h.isempty(text[2]) == false then s,reality = d.lua_reality(text[2]) result = result..'|Universe='..reality..'\n' end if h.isempty(text[3]) == false then subjects = mw.text.split(text[3],'@') for i = 1,#subjects do                       if h.isempty(subjects[i]) == false then result = result..'|Subject'..i..'='..subjects[i]..'\n' end end end end return result end

return p