Module:Ability

local p = {} local gameShortened = require("Module:GameShortened")

function p.main(frame) local args = frame:getParent.args local game = gameShortened.getGame(args["game"] or args[1]) local name = args["name"] or args[2] or "" local size = args["size"] or args[3] or "24" local icononly = args["icononly"] ~= nil or args[3] == "icononly" or args[4] == "icononly"

local result = "Neutral" local linkText = name

if name == "?" then linkText = "Gear ability" result = "" elseif name ~= "Neutral" then if name == "Recon" then linkText = "Recon (ability)" end

result = ""

if not icononly then result = result .. "&#32;" .. linkText .. "" end end

return result end

return p