Module:Legends

--

local p = {}

local lut = { ["strength"] = "Strength (Legends)", ["str"] = "Strength (Legends)", ["intelligence"] = "Intelligence (Legends)", ["int"] = "Intelligence (Legends)", ["willpower"] = "Willpower (Legends)", ["wil"] = "Willpower (Legends)", ["agility"] = "Agility (Legends)", ["agi"] = "Agility (Legends)", ["endurance"] = "Endurance (Legends)", ["end"] = "Endurance (Legends)", }

function p.attributes(frame) local result = '' for attr in mw.text.gsplit(string.lower(frame.args[1]), ',') do result = result .. lut[attr] end return result end

return p

--