Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:EquipmentLink
(view source)
Revision as of 19:32, 14 September 2017
59 bytes added
,
7 years ago
no edit summary
Line 1:
Line 1:
local getArgs = require("Module:GetArgs")
local getArgs = require("Module:GetArgs")
+
local U = require("Module:Utils")
local F = require("Module:Formatting")
local F = require("Module:Formatting")
local Equipment = require("Module:Equipment")
local Equipment = require("Module:Equipment")
Line 31:
Line 32:
local tooltip_content = F:class_div("tooltip-contents", nil, card)
local tooltip_content = F:class_div("tooltip-contents", nil, card)
−
return F:class_span("advanced-tooltip", nil, formatted_icon .. formatted_link .. tooltip_content)
+
return F:class_span("advanced-tooltip", nil, formatted_icon .. formatted_link .. tooltip_content
) .. (args[2] and U.category("Bad EquipmentLink call") or ""
)
end
end
--[[
--[[
−
local U = require("Module:Utils")
−
U.registerFormatTests(EquipmentLink, {
U.registerFormatTests(EquipmentLink, {
{ "Prototype 51cm Twin Gun Mount" },
{ "Prototype 51cm Twin Gun Mount" },
がか
cssedit, gkautomate
7,064
edits