Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:ShipPage
(view source)
Revision as of 09:28, 28 December 2017
122 bytes added
,
6 years ago
m
no edit summary
Line 347:
Line 347:
table.insert(result, "<h2>" .. title .. "</h2>")
table.insert(result, "<h2>" .. title .. "</h2>")
end
end
−
table.insert(result, '<div class="ship-gallery-page-section">')
+
if form.normal and form.damaged then
+
table.insert(result, '<div class="ship-gallery-page-section">')
+
end
if form.normal then
if form.normal then
table.insert(result, cg(form.name))
table.insert(result, cg(form.name))
Line 354:
Line 356:
table.insert(result, cg(form.name, true))
table.insert(result, cg(form.name, true))
end
end
−
table.insert(result, "</div>")
+
if form.normal and form.damaged then
+
table.insert(result, "</div>")
+
end
end
end
table.insert(result, "</div>")
table.insert(result, "</div>")
がか
cssedit, gkautomate
6,996
edits