Changes

no edit summary
Line 1: Line 1:  +
local _ = require("Module:Core")
 
local BaseData = require("Module:BaseData")
 
local BaseData = require("Module:BaseData")
 
local Formatting = require('Module:Formatting')
 
local Formatting = require('Module:Formatting')
Line 467: Line 468:     
function EquipmentData:wikipedia()
 
function EquipmentData:wikipedia()
  return self._wikipedia
+
    local parts = self._wikipedia and _.split(self._wikipedia, ':')
 +
return parts and (parts[2] or parts[1])
 
end
 
end
  
cssedit, gkautomate
7,064

edits