View source for Module:Luacard2
From Archon Arcana - The KeyForge Wiki
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
--Module:Luacard
--canstage
--Usage: english - {{#invoke luacard | viewcard | cardname=Angry Mob}}
-- other language {{#invoke luacard | viewcard | cardname=Angry Mob | locale=fr-fr}} (language codes are all 2 part)
--Debug: print(p.viewcard({args={cardname='Angry Mob', debug=true}}))
local p = {}
local cargo = mw.ext.cargo
function combine(tableto, tablefrom)
for k,v in pairs(tablefrom) do
tableto[k] = v
end
end
function map(table, func)
if table==nil then return table end
for k,v in pairs(table) do
table[k] = func(v)
end
return table
000
1:0
Template used on this page:
Return to Module:Luacard2.