Module:EquipmentPage

local Utils = require("Module:Utils") local Equipment = require('Module:Equipment')

return { buildable = function(frame) local args = Utils.getTemplateArgs(frame) local name = args.explicit[1] or args.implicit.pagename or "" local equip = Equipment(name) return equip:buildable and "true" or "" end, }