Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EquipmentData
(view source)
Revision as of 13:14, 29 November 2018
116 bytes added
,
5 years ago
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