Line 144: |
Line 144: |
| end | | end |
| | | |
− | function ShipPage.Header(frame, args) | + | function ShipPage.Header(frame) |
− | args = args or U.getTemplateArgs(frame) | + | local args = U.getTemplateArgs(frame) |
| local basepagename = args.implicit.basepagename or "" | | local basepagename = args.implicit.basepagename or "" |
| local ship_name = args.explicit.ship or args.implicit.pagename or "" | | local ship_name = args.explicit.ship or args.implicit.pagename or "" |
Line 151: |
Line 151: |
| end | | end |
| | | |
− | function ShipPage.FooterLinks(frame, args) | + | function ShipPage.FooterLinks(frame) |
− | args = args or U.getTemplateArgs(frame) | + | local args = U.getTemplateArgs(frame) |
| local basepagename = args.implicit.basepagename or "" | | local basepagename = args.implicit.basepagename or "" |
| local ship_name = args.explicit.ship or args.implicit.pagename or "" | | local ship_name = args.explicit.ship or args.implicit.pagename or "" |
Line 190: |
Line 190: |
| end | | end |
| | | |
− | function ShipPage.ClassTemplate(frame, args) | + | function ShipPage.ClassTemplate(frame) |
− | args = args or U.getTemplateArgs(frame) | + | local args = U.getTemplateArgs(frame) |
| local basepagename = args.implicit.basepagename or "" | | local basepagename = args.implicit.basepagename or "" |
| local ship_name = args.explicit.ship or args.implicit.pagename or "" | | local ship_name = args.explicit.ship or args.implicit.pagename or "" |
Line 318: |
Line 318: |
| end | | end |
| | | |
− | function ShipPage.Gallery(frame, args) | + | function ShipPage.Gallery(frame) |
− | args = args or U.getTemplateArgs(frame) | + | local args = U.getTemplateArgs(frame) |
| local ship_name = args.explicit.ship or args.implicit.pagename or "" | | local ship_name = args.explicit.ship or args.implicit.pagename or "" |
| local forms = ship_cgs(ship_name) | | local forms = ship_cgs(ship_name) |
Line 367: |
Line 367: |
| end | | end |
| | | |
− | function ShipPage.GalleryTabber(frame, args) | + | function ShipPage.GalleryTabber(frame) |
− | args = args or U.getTemplateArgs(frame) | + | local args = U.getTemplateArgs(frame) |
| local ship_name = args.explicit.ship or args.implicit.pagename or "" | | local ship_name = args.explicit.ship or args.implicit.pagename or "" |
| local forms = ship_cgs(ship_name) | | local forms = ship_cgs(ship_name) |
Line 405: |
Line 405: |
| end | | end |
| | | |
− | function ShipPage.FooterSections(frame, args) | + | function ShipPage.FooterSections(frame) |
− | args = args or U.getTemplateArgs(frame) | + | local args = U.getTemplateArgs(frame) |
| local ship_name = args.explicit.ship or args.implicit.pagename or "" | | local ship_name = args.explicit.ship or args.implicit.pagename or "" |
| return format{ | | return format{ |