Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:NodeInfo
(view source)
Revision as of 08:17, 18 April 2015
46 bytes removed
,
9 years ago
m
no edit summary
Line 284:
Line 284:
table.insert(self._rows, format{self._empty_node_template, values = { node = values[1] } })
table.insert(self._rows, format{self._empty_node_template, values = { node = values[1] } })
else
else
−
local resource = Formatting:format_image{
mw.ustring.sub(
values[2]
, 1, split - 1)
.. ".png", caption =
mw.ustring.sub
(
resource, 1, split - 1
), size = "22x22px"}
+
local resource = Formatting:format_image{values[2] .. ".png", caption =
self:upcase
(
values[2]
), size = "22x22px"}
local text, node_type, bg_color = self:process_resource_node(resource, values[3])
local text, node_type, bg_color = self:process_resource_node(resource, values[3])
local color = "initial"
local color = "initial"
Nanamin
48
edits