Module:MemeGenerate

require "Module:Generic Random Picker"

local valid_memes = { "Memes/BryantMyKing", "Memes/CairbreMyLiege", "Memes/CaldersDeuce", "Memes/EtrandIsTitanist", "Memes/EtrandsPlight", "Memes/HalfOrcsMeme", "Memes/RemoveMissionaries", "Memes/Sim'vara", "Memes/StephanusMyKnight", "Memes/ElfVsBarbarian/raw", }

local meme_picker = RandomPicking(valid_memes)

local p={} function p.main(frame) return meme_picker.main(frame.args[1]) end function p.rand(frame) return meme_picker.rand end function p.loop(frame) return meme_picker.loop end return p