Module:Skills

local p = {}

local function getFrame local pframe = frame:getParent local config = frame.args local args = pframe.args local styleskill = A	local stylecode2 = B	local styleeffect1 = C	local styleeffect2 = D	return pframe, config, args, styleskill, stylecode2, styleeffect1, styleeffect2 end function p.format11( frame ) local getFrame local game = frame.args[1] local code = frame.args[2] local data = require('Module:Skills/' .. game) local skill = data.skills[code] local cost = skill.cost local effect = skill.effect return styleskill .. code .. '||' .. cost .. styleeffect1 .. effect .. '.' end function p.format12( frame ) local getFrame local game = frame.args[1] local code = frame.args[2] local data = require('Module:Skills/' .. game) local skill = data.skills[code] local cost = skill.cost local effect = skill.effect return styleskill .. code .. stylecode2 .. cost .. styleeffect2 .. effect .. '.' end

return p