Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Module:ShipInfo
(view source)
Revision as of 12:25, 12 May 2021
308 bytes added
,
4 years ago
m
25 revisions imported
Line 9:
Line 9:
local ShipGraphicKai = false
local ShipGraphicKai = false
local ShipInfoKai = false
local ShipInfoKai = false
+
local ShipMetaKai = false
local getArgs = require('Module:GetArgs')
local getArgs = require('Module:GetArgs')
Line 20:
Line 21:
if not ShipInfoKai then
if not ShipInfoKai then
ShipInfoKai = require('Module:ShipInfoKai')
ShipInfoKai = require('Module:ShipInfoKai')
+
end
+
end
+
+
function ShipInfo.Meta(frame)
+
local args = getArgs{frame = frame, wrappers = {"Template:ShipMetaKai"}}
+
_prepareShipMetaKai()
+
return ShipMetaKai:Infobox(args)
+
end
+
+
function _prepareShipMetaKai()
+
if not ShipMetaKai then
+
ShipMetaKai = require('Module:ShipMetaKai')
end
end
end
end
Line 47:
Line 60:
end
end
−
function ShipInfo.
Combo
(frame)
+
function ShipInfo.
CardCombo
(frame)
local args = getArgs{frame = frame:getParent()}
local args = getArgs{frame = frame:getParent()}
_prepareShipCardComboKai()
_prepareShipCardComboKai()
Botkaze
Bots
, gkautomate
13,304
edits