Line 262: |
Line 262: |
| end | | end |
| | | |
− | function ShipPage.TestGalleryTabber(ship) | + | function ShipPage.TestGallery(ship) |
| return ShipPage.GalleryTabber(nil, { | | return ShipPage.GalleryTabber(nil, { |
| explicit = { ship = ship }, | | explicit = { ship = ship }, |
Line 268: |
Line 268: |
| }) | | }) |
| end | | end |
− | -- print(p.TestGalleryTabber("Taigei")) | + | -- print(p.TestGallery("Taigei")) |
− | -- print(p.TestGalleryTabber("Ayanami")) | + | -- print(p.TestGallery("Ayanami")) |
− | -- print(p.TestGalleryTabber("Iowa")) | + | -- print(p.TestGallery("Iowa")) |
− | -- print(p.TestGalleryTabber("Kasuga Maru")) | + | -- print(p.TestGallery("Kasuga Maru")) |
− | -- print(p.TestGalleryTabber("Murakumo")) | + | -- print(p.TestGallery("Murakumo")) |
| | | |
| function ShipPage.FooterSections(frame, args) | | function ShipPage.FooterSections(frame, args) |
Line 280: |
Line 280: |
| links = ShipPage.FooterLinks(frame, args) | | links = ShipPage.FooterLinks(frame, args) |
| } | | } |
| + | end |
| + | |
| + | local ShipIterator = require('Module:ShipIterator') |
| + | |
| + | function ShipPage.TestGalleryAll() |
| + | local result = {} |
| + | for _, ship in ShipIterator.base() do |
| + | table.insert(result, ShipPage.TestGallery(ship)) |
| + | end |
| + | return table.concat(result, '\n') |
| end | | end |
| | | |