Changes

no edit summary
Line 9: Line 9:     
function BaseAsset:_add_layer(stack, layer, ship, args, link)
 
function BaseAsset:_add_layer(stack, layer, ship, args, link)
stack:node(mw.html.create('span'):addClass('image-layer'):css(self._image_layer_style):css(layer.style):wikitext(Formatting:format_image{layer.image, caption = layer.caption or args.caption, size = layer.size, link = link}))
+
stack:node(mw.html.create('span'):addClass('image-layer'):css(self._image_layer_style):css(layer.style):wikitext(Formatting:format_image{
 +
    layer.image,
 +
    -- caption = layer.caption or args.caption,
 +
    size = layer.size,
 +
    -- link = link
 +
}))
 
end
 
end
  
cssedit, gkautomate
7,064

edits