Module:NotableRobloxianUserboxes

-- Sets up a system for the Template:User fanof userbox, allowing one module to create many different forms of the same template.

local p = {}

p.data = { -- {"Username","FileName","Display (This user is a fan of ...)", {configurations}} -- configurations: {textbg=example,imagebg=example,fontcolor=example,textimage=example} {"Shedletsky","John-shedletsky.jpg","John Shedletsky aka, Telamon.",{bordercolor="#876325",imagebg="#6F0F10"}}, {"Dued1","Dued1Fan.png","Dued1.",{textbg="cyan",imagebg="white",textimage="black",fontcolor="black"}}, {"Polyhex","TylerMcBride.jpg","Polyhex.",{textbg="purple",imagebg="white",fontcolor="white"}}, {"Cindering","Cinderingfan.png","Cindering.",{textbg="red",imagebg="white",textimage="black",fontcolor="black"}}, {"Loleris","Lolerisfan.png","Loleris.",{textbg="cyan",imagebg="white",textimage="black",fontcolor="black"}}, {"Alexnewtron","Alexnewtronfan.png","Alexnewtron.",{textbg="black",imagebg="white",textimage="black",fontcolor="white"}}, {"david.baszucki","Current_David.png","David Baszucki.",{textbg="black",imagebg="white",textimage="white",fontcolor="white"}}, {"Nathorix","Nathorix's Profile Picture.png","Nathorix.",{bordercolor="#FAFD00",textbg="#540484",imagebg="#BC2AFF",textimage="#C568F0",fontcolor="#FEFEFE"}}, {"DrTrayBlox","DrTrayBlox.png","DrTrayBlox.",{bordercolor="blue",textbg="#FFFF54",imagebg="blue",textimage="blue",fontcolor="blue"}}, {"inquisitormaster","Inquisitormaster's Profile Picture.png","Inquisitormaster.",{bordercolor="#03FFFD",textbg="#F8AAF4",imagebg="#F5FC01",textimage="#EE7BF4",fontcolor="#000000"}}, {"Faave","Fave's Profile Picture.png","Faave.",{bordercolor="#8508C8",textbg="#0A0A0A",imagebg="#9E2BDB",textimage="#A531E2",fontcolor="#FFFCFC"}}, {"Conor3D","Conor3D1.png","Conor3D.",{bordercolor="#E75480",textbg="#1E90FF",imagebg="#FF0000",textimage="black",fontcolor="#000000"}}, {"epikrika_a","epikrika.png","Epikrika.",{bordercolor="black",textbg="black",imagebg="black",textimage="black",fontcolor="white"}}, {"TheNexusAvenger","TheNexusAvenger.jpg",".",{bordercolor="#FFFFFF",textbg="#5A4F4D",imagebg="#000000",textimage="black",fontcolor="#FFFFFF"}}, {"V_yriss","V_yriss' Furry Profile Picture.png","V_yriss.",{bordercolor="#DC851D",textbg="#D70606",imagebg="#000000",textimage="black",fontcolor="#000000"}}, {"callmehbob","Callmehbob's Profile Picture.png","callmehbob.",{bordercolor="#6ACCF2",textbg="#F3F68D",imagebg="#F590E1",textimage="#E5F72D",fontcolor="#000000"}}, {"KonekoKittenWasTaken","KonekoKitten's Pansexual Profile Picture.jpg","KonekoKitten.",{bordercolor="#8542B3",textbg="#C69BEB",imagebg="#F4DCF7",textimage="#FAF8FA",fontcolor="#000000"}}, {"whos_toxic","iSoToxic's Profile Picture.jpg","iSoToxic.",{bordercolor="#7E1FDB",textbg="#719B72",imagebg="#7E1FDB",textimage="#FFFFFF",fontcolor="#000"}}, {"mrflimflam","Flamingo's Profile Picture.jpg","mrflimflam (Flamingo).",{bordercolor="#51CAC5",textbg="#67FFFE",imagebg="#FCFCFC",textimage="#97D2EE",fontcolor="#000"}}, {"Onett","Onett's Profile Picture.png","Onett.",{bordercolor="#D81D00",textbg="#D81D00",imagebg="#000",textimage="#000",fontcolor="#FFF"}}, {"ObscureEntity","Isaac's Profile Picture.jpg","ObscureEntity.",{bordercolor="#E6E02F",textbg="#000",imagebg="#05AEFF",textimage="#05AEFF",fontcolor="#FFF"}}, {"RoScripts","RoScripts' Profile Picture.png","RoScripts.",{bordercolor="#132196",textbg="#95CCE9",imagebg="#FFFFFF",textimage="#132196",fontcolor="#000000"}}, {"phirefox","PhireFox's Profile Picture.png","phirefox.",{bordercolor="#E50303",textbg="#FCDA06",imagebg="#E50303",textimage="#E50303",fontcolor="#000000"}}, {"intervin","ROBLOXMuff's Profile Picture.png","intervin.",{bordercolor="#A360B2",textbg="#B611DB",imagebg="#CC78DF",textimage="#CC78DF",fontcolor="#FFFFFF"}}, {"forstaken","Tofuu's Profile Picture.jpg","forstaken.",{bordercolor="#1FBA12",textbg="#FFF000",imagebg="#1FBA12",textimage="#000000",fontcolor="#000000"}}, {"GrottyPuff","Grotesquette2019.png","GrottyPuff.",{bordercolor="#736868",textbg="#CE25A8",imagebg="#0A0606",textimage="#0A0606",fontcolor="#FFFFFF"}}, {"ZacharyZaxor","ZacharyZaxor's Profile Picture.png","ZacharyZaxor.",{bordercolor="#F9E02B",textbg="#26B496",imagebg="#37E1C8",textimage="#37E1C8",fontcolor="#FFFFFF"}}, {"NotLeah","Leah Ashe's Profile Picture.jpg","NotLeah.",{bordercolor="#F569B1",textbg="#FBB5D9",imagebg="#EF84BB",textimage="#EF84BB",fontcolor="#000000"}}, {"Pokediger1","Poke's Profile Picture.jpg","Pokediger1.",{bordercolor="#000000",textbg="#EFEF62",imagebg="#C6C60C",textimage="#C6C60C",fontcolor="#000000"}}, {"ChloeUrie","ChloeGames' Profile Picture.jpg","ChloeGames.",{bordercolor="#FF0000",textbg="#FF5C5C",imagebg="#000000",textimage="#000000",fontcolor="#000000"}}, {"applecake3039204536","TheHealthyCow's Profile Picture.jpg","TheHealthyCow.",{bordercolor="#000000",textbg="#0062C8",imagebg="#62ADFA",textimage="#70B1FF",fontcolor="#FFFFFF"}}, {"Linkmon99","Linkmon99's Profile Picture.jpg","Linkmon99.",{bordercolor="#F8FC00",textbg="#279E17",imagebg="#279E17",textimage="#279E17",fontcolor="#FFFFFF"}}, {"skoonks","Roblox Minigunner's Profile Picture.jpg","skoonks.",{bordercolor="#FF0000",textbg="#FFFFFF",imagebg="#000000",textimage="#000000",fontcolor="#000000"}}, {"LovelyLyssyy","Lovely Lyssy's Profile Picture.jpg","LovelyLyssyy.",{bordercolor="#A845FF",textbg="#D773FF",imagebg="#D773FF",textimage="#DD93FF",fontcolor="#000000"}}, {"kristiexo","TheLaughingUnicorn's Profile Picture.jpg","kristiexo.",{bordercolor="#FF3FBC",textbg="#FF7ED2",imagebg="#FF3FBC",textimage="#FF3FBC",fontcolor="#FFFFFF"}}, {"THEREALCYBERNOVA","cybernova games' Profile Picture.jpg","cybernova games.",{bordercolor="#000000",textbg="#E6B2FF",imagebg="#000000",textimage="#000000",fontcolor="#000000"}}, {"legoseed","Legoseed's Profile Picture.jpg","legoseed.",{bordercolor="#000000",textbg="#FFFFFF",imagebg="#FFFFFF",textimage="#000000",fontcolor="#000000"}}, {"InceptionTime","InceptionTime's Profile Picture.png","InceptionTime.",{bordercolor="#00C03F",textbg="#000000",imagebg="#36812C",textimage="#36812C",fontcolor="#FFFFFF"}}, {"Mugalo","Mugalo's Profile Picture.jpg","Mugalo.",{bordercolor="#68D5FF",textbg="#FF9FDF",imagebg="#68D5FF",textimage="#FF9FDF",fontcolor="#000000"}}, {"CloneTrooper1019","CloneTrooper1019's Profile Picture.png","CloneTrooper1019.",{bordercolor="#A10000",textbg="#000000",imagebg="#A10000",textimage="#A10000",fontcolor="#FFFFFF"}}, {"Whimy","Whimy's Profile Picture.png","Whimy.",{bordercolor="#11FF00",textbg="#FFFFFF",imagebg="#FFFFFF",textimage="#000000",fontcolor="#000000"}}, {"TypicalType","TypicalType's Profile Picture.jpg","TypicalType.",{bordercolor="#005E80",textbg="#52C1E9",imagebg="#005E80",textimage="#005E80",fontcolor="#000000"}}, {"Stickmasterluke","Stickmasterluke's Profile Picture.png","Stickmasterluke.",{bordercolor="#FFFFFF",textbg="#006B20",imagebg="#000000",textimage="#000000",fontcolor="#FFFFFF"}}, {"RickyTheFishy","RickyTheFishy's Profile Picture.jpg","RickyTheFishy.",{bordercolor="#6A74FF",textbg="#2C3177",imagebg="#6A74FF",textimage="#6A74FF",fontcolor="#FFFFFF"}}, {"PixelatedCandy","PixelatedCandy's Profile Picture.png","PixelatedCandy.",{bordercolor="#00DCD1",textbg="#FF3AD8",imagebg="#00DCD1",textimage="#00DCD1",fontcolor="#000000"}}, {"Remainings","Remainings' Profile Picture.jpg","Remainings.",{bordercolor="#005D5D",textbg="#FFFFFF",imagebg="#005D5D",textimage="#005D5D",fontcolor="#000000"}}, {"DenisDaily","Denis' Profile Picture.jpg","DenisDaily.",{bordercolor="#00E1AD",textbg="#00BA8F",imagebg="#00E1AD",textimage="#00E1AD",fontcolor="#000000"}}, {"DeeterPlays","DeeterPlays' Profile Picture.jpg","DeeterPlays.",{bordercolor="#FF0000",textbg="#FFFFFF",imagebg="#FF0000",textimage="#FF0000",fontcolor="#000000"}}, {"TheMeganPlays","MeganPlays' Profile Picture.jpg","MeganPlays.",{bordercolor="#FF0064",textbg="#FF5899",imagebg="#FFF68F",textimage="#FFF68F",fontcolor="#FFFFFF"}}, {"StarCode_RealKreek","KreekCraft's Profile Picture.jpg","KreekCraft.",{bordercolor="#EAD800",textbg="#0054B6",imagebg="#EAD800",textimage="#EAD800",fontcolor="#FFFFFF"}}, {"fudsim","FUDZ's Profile Picture.jpg","FUDZ.",{bordercolor="#1358CC",textbg="#30C245",imagebg="#1358CC",textimage="#1358CC",fontcolor="#000000"}}, {"Funnehcake","ItsFunneh's Profile Picture.jpg","ItsFunneh.",{bordercolor="#264CA3",textbg="#308EE9",imagebg="#264CA3",textimage="#264CA3",fontcolor="#FFFFFF"}}, {"RussoTalks","RussoPlays' Profile Picture.jpg","RussoTalks.",{bordercolor="#7FCDFF",textbg="#000000",imagebg="#7FCDFF",textimage="#7FCDFF",fontcolor="#FFFFFF"}}, {"GPR3","Lonnie's Profile Picture.jpg","GPR3.",{bordercolor="#CE2B00",textbg="#FF9762",imagebg="#CE2B00",textimage="#CE2B00",fontcolor="#000000"}}, {"Berezaa","Berezaa's Profile Picture.png","Berezaa.",{bordercolor="#000000",textbg="#C5C5C5",imagebg="#797979",textimage="#797979",fontcolor="#000000"}}, {"Beeism","Beeism's Profile Picture.jpg","Beeism.",{bordercolor="#000000",textbg="#01D300",imagebg="#000000",textimage="#000000",fontcolor="#000000"}}, {"Ripull","Ripull's Profile Picture.png","Ripull.",{bordercolor="#01FF00",textbg="#019000",imagebg="#01FF00",textimage="#01FF00",fontcolor="#FFFFFF"}}, {"Keisyo","Keisyo's Profile Picture.jpg","Keisyo.",{bordercolor="#CE598E",textbg="#FF9BC9",imagebg="#CE598E",textimage="#CE598E",fontcolor="#000000"}}, {"Antilique","Antilique's Profile Picture.png",".",{bordercolor="#FF5D5D",textbg="#3F3F3F",imagebg="#FF5D5D",textimage="#FF5D5D",fontcolor="#FFFFFF"}}, {"NUTEST","NUTEST's Profile Picture.jpg",".",{bordercolor="#FF5D5D",textbg="#3F3F3F",imagebg="#FF5D5D",textimage="#FF5D5D",fontcolor="#FFFFFF"}}, {"Kittzilla","Kittzilla's Profile Picture.jpg",".",{bordercolor="#FC7200",textbg="#8D00C5",imagebg="#FC7200",textimage="#FC7200",fontcolor="#FFFFFF"}}, {"EvilArtist","EvilArtist's Profile Picture.png","EvilArtist",{bordercolor="#00BEF9",textbg="#BC6BFF",imagebg="#00BEF9",textimage="#00BEF9",fontcolor="#000000"}}, }

p.getData = function(name) for i,v in pairs(p.data) do       if v[1]:lower == name:lower then return v       end end end

p.generateList = function(frame) local str = "" local addNewLine = false for i,v in pairs(p.data) do       str = str .. (addNewLine == true and "\n" or "") .. "* "       addNewLine = true end return frame:preprocess(str) end

p.getImage = function(frame) local name = frame.args[1] local data = p.getData(name) if not data then return "fanof error: player '"..name.."' not found." end return "" end

p.getText = function(frame) local name = frame.args[1] local data = p.getData(name) if not data then return "fanof error: player '"..name.."' not found." end return "This user is a fan of " .. data[3] end

p.getExtraParameters = function(frame) local name = frame.args[1] local data = p.getData(name) if not data then return "fanof error: player '"..name.."' not found." end local s = "" local addNewLine = false for i,v in pairs(data[4]) do       s = s .. (addNewLine == true and "\n" or "") .. "|" .. i .. "=" .. v       addNewLine = true end return s end

p.constructUserbox = function(frame) local name = frame.args[1] local str = "" return frame:preprocess(str) end

return p