Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NanaminFleet
(view source)
Revision as of 11:21, 8 April 2015
50 bytes added
,
9 years ago
m
no edit summary
Line 20:
Line 20:
},
},
--]=]
--]=]
+
_cell = [[${values.value}]],
_columns = {
_columns = {
"ship",
"ship",
Line 35:
Line 36:
function NanaminFleet:ship(row)
function NanaminFleet:ship(row)
+
local value
if row[1] == false then
if row[1] == false then
value = Formatting:format_image{self._blank, size = self._size}
value = Formatting:format_image{self._blank, size = self._size}
Line 40:
Line 42:
value = ShipCardKai:card{ship = row[1], size = self._size, link = row[1]:link(), caption = row[1]:name()}
value = ShipCardKai:card{ship = row[1], size = self._size, link = row[1]:link(), caption = row[1]:name()}
end
end
−
return {values = {
ship_card
= value}, bg_color = self._transparent, text_align = self._center_align}
+
return {values = {
value
= value}, bg_color = self._transparent, text_align = self._center_align}
end
end
Line 49:
Line 51:
function NanaminFleet:equips(row)
function NanaminFleet:equips(row)
−
value = "|-|Lol|-|Lol2|-|Lol3|-|Lol4"
+
local
value = "|-|Lol|-|Lol2|-|Lol3|-|Lol4"
−
return {values = {
equips
= value}, bg_color = self._equip_bg, text_align = self._center_align}
+
return {values = {
value
= value}, bg_color = self._equip_bg, text_align = self._center_align}
end
end
Nanamin
48
edits