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:..." |
mNo edit summary |
||
Line 2: | Line 2: | ||
function p.color(frame) | function p.color(frame) | ||
if 1 == 1 then | |||
return frame.args | |||
end | |||
local keyword = frame.args[1] | local keyword = frame.args[1] | ||
local colType = frame.args[2] | local colType = frame.args[2] |