Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Sandbox/Fleet
(view source)
Revision as of 15:07, 31 May 2019
174 bytes added
,
5 years ago
m
no edit summary
Line 6:
Line 6:
local Ship = require('Module:Ship')
local Ship = require('Module:Ship')
+
local Equipment = require('Module:Equipment')
local ShipBattleCardKai = require('Module:ShipBattleCardKai')
local ShipBattleCardKai = require('Module:ShipBattleCardKai')
local EquipmentCardKai = require('Module:EquipmentCardKai')
local EquipmentCardKai = require('Module:EquipmentCardKai')
Line 12:
Line 13:
local function getShipCard(ship)
local function getShipCard(ship)
−
return
"
[[
"
.. Ship(ship):base_name() ..
"
|
"
.. Ship(ship):name() ..
"
]]
"
+
return
'
[[
File:KanMusu' .. Ship(ship):id() .. 'Banner.png]]<br>' .. '[['
.. Ship(ship):base_name() ..
'
|
'
.. Ship(ship):name() ..
'
]]
'
end
end
local function getEquipmentCard(eq)
local function getEquipmentCard(eq)
−
return
"
[[
"
.. eq ..
"
]]
"
+
return
'
[[
File:Equipment'
..
Equipment(
eq
):id()
..
'-1.png|150px
]]
' .. '<!--' .. eq .. '-->'
end
end
がか
cssedit, gkautomate
7,064
edits