Module:Color: Difference between revisions

Created page with "local p = {} function p.color(frame) local keyword = frame.args[1] local colType = frame.args[2] if not keyword or not colType then return "Missing keyword or colType" end local key = "pokehero-color-" .. colType local colTable local success, result = pcall(function() return mw.loadData("Module:Color/keywords") end) if success and result then colTable = result else return "Missing Module:..."
 
m fixed
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
     end
     end


     local key = "pokehero-color-" .. colType
     local key = "pokehero-color-" .. keyword
      
      
     local colTable
     local colTable