Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Sandbox/Chocolatecravinghobo
(view source)
Revision as of 18:59, 9 June 2020
134 bytes added
,
4 years ago
m
no edit summary
Line 5:
Line 5:
local ShipCardListKai = CardList{
local ShipCardListKai = CardList{
+
_item_class = Ship,
+
_blank = "Empty ship slot.png",
+
_default_size = ShipCardKai._card_size,
+
_column_count = 5,
}
}
Line 12:
Line 16:
value = Formatting:format_image{self._blank, size = self._size}
value = Formatting:format_image{self._blank, size = self._size}
else
else
−
value = ShipCardKai:get{ship = ship, link = ship:link(), caption = ship:name()}
+
value = ShipCardKai:get{ship = ship
, size = self._size
, link = ship:link(), caption = ship:name()}
end
end
return {values = {value = value}, bg_color = self._transparent, text_align = self._center_align}
return {values = {value = value}, bg_color = self._transparent, text_align = self._center_align}
Chocolatecravinghobo
advmod, cssedit,
Interface administrators
, janitor,
Moderators
, prechecked,
Widget editors
7,373
edits