Changes

no edit summary
Line 69: Line 69:  
{{!}}-{{!}}Damaged={{ShipGraphicKai|${name}/${suffix}|link=nil|damaged=true|size=300px}}
 
{{!}}-{{!}}Damaged={{ShipGraphicKai|${name}/${suffix}|link=nil|damaged=true|size=300px}}
 
}}]],
 
}}]],
 +
 +
    _footer_sections = [[<div class="ship-page-gallery">
 +
==CG==
 +
${gallery}
 +
</div>
 +
==See Also==
 +
${links}]],
    
}
 
}
Line 177: Line 184:     
function ShipPage.FooterSections(frame, args)
 
function ShipPage.FooterSections(frame, args)
     local links = ShipPage.FooterLinks(frame, args)
+
     return format{
    local gallery = frame:preprocess(ShipPage.GalleryTabber(frame, args))
+
        ShipPage._footer_sections,
    return "==CG==\n" .. gallery .. "\n==See Also==\n" .. links
+
        gallery = frame:preprocess(ShipPage.GalleryTabber(frame, args)),
 +
        links = ShipPage.FooterLinks(frame, args)
 +
    }
 
end
 
end
  
cssedit, gkautomate
7,060

edits