Line 165: |
Line 165: |
| 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_remodel_forms(ship_name) | | local forms = ship_remodel_forms(ship_name) |
− | local result = { "<tabber>" } | + | local result = { "{{#tag:tabber|" } |
| for _, form in ipairs(forms) do | | for _, form in ipairs(forms) do |
| local name, suffix = Ship:process_ship_key(form) | | local name, suffix = Ship:process_ship_key(form) |
− | table.insert(result, suffix == "" and "|-|Base=" or ("|-|" .. suffix .. "=")) | + | table.insert(result, suffix == "" and "{{!}}-{{!}}Base=" or ("{{!}}-{{!}}" .. suffix .. "=")) |
| table.insert(result, format{ ShipPage._gallery_tabber, name = name, suffix = suffix }) | | table.insert(result, format{ ShipPage._gallery_tabber, name = name, suffix = suffix }) |
| end | | end |
− | table.insert(result, "</tabber>") | + | table.insert(result, "}}") |
| return table.concat(result, "\n") | | return table.concat(result, "\n") |
| end | | end |