- Welcome to the Kancolle Wiki!
- If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord
View source for Module:KanmusuModule
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local U = require("Module:Core")
-- Some formatting
local function formatBuildtime(minutes)
return U.format {"${hours}:${minutes:2}", hours = math.floor(minutes / 60), minutes = minutes % 60}
end
local function formatTooltip(content, title)
return tostring(mw.html.create("span"):attr("title", title):addClass("explain"):wikitext(content))
end
-- Some calculations
local function getTotalAircraft(ship)
local total = 0
if ship.aircraft ~= "" then
for i, _ in pairs(ship.aircraft) do
if ship.aircraft[i] == nil or ship.aircraft[i] == "" then
total = total + 0
else
000
1:0
Template used on this page:
Return to Module:KanmusuModule.