• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
m
no edit summary
Line 196: Line 196:  
            local resource = mw.ustring.sub(row_values, split + 1)
 
            local resource = mw.ustring.sub(row_values, split + 1)
 
            if resource == "empty" then
 
            if resource == "empty" then
                table.insert(self._rows, format{self._empty_node_template, { values = { node = node } } })
+
                table.insert(self._rows, format{self._empty_node_template, values = { node = node } })
 
             else
 
             else
 
                split = mw.ustring.find(resource, '/')
 
                split = mw.ustring.find(resource, '/')
 
                local amount = mw.ustring.sub(resource, split + 1)
 
                local amount = mw.ustring.sub(resource, split + 1)
 
                resource = Formatting:format_image{mw.ustring.sub(resource, 1, split - 1) .. ".png", caption = mw.ustring.sub(resource, 1, split - 1)}
 
                resource = Formatting:format_image{mw.ustring.sub(resource, 1, split - 1) .. ".png", caption = mw.ustring.sub(resource, 1, split - 1)}
                 table.insert(self._rows, format{self._resource_node_template, { values = { node = node, amount = amount, resource = resource } } })
+
                 table.insert(self._rows, format{self._resource_node_template, values = { node = node, amount = amount, resource = resource } })
 
            end
 
            end
 
    end
 
    end
48

edits

Navigation menu