Changes

Test changing to EquipmentLink
Line 5: Line 5:  
local StatIcons = require('Module:StatIcons')
 
local StatIcons = require('Module:StatIcons')
 
local Formatting = require('Module:Formatting')
 
local Formatting = require('Module:Formatting')
 +
local EquipmentLink = require('Module:EquipmentLink')
 
local format = require('Module:Utils').format
 
local format = require('Module:Utils').format
   Line 433: Line 434:  
color = equipment:back()
 
color = equipment:back()
 
equipment_type = equipment:type()
 
equipment_type = equipment:type()
equipment = Formatting:format_link(equipment:link())
+
equipment = EquipmentLink:create(equipment:link())
 
if eqStars then
 
if eqStars then
 
    stars = " " .. Formatting:format_slot_stars(eqStars)
 
    stars = " " .. Formatting:format_slot_stars(eqStars)
Anonymous user