打开/关闭菜单
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

舰R百科是靠无数志愿编辑者持续地建设更新完善的。编辑非常简单,无需代码知识,请勇于更新页面!
编辑入门 | 资助百科 | 留言讨论页 | 微博@舰R百科 | 百科编辑讨论Q群:366818861

模块:图鉴:修订间差异

来自舰R百科
Donnyjie留言 | 贡献
无编辑摘要
Donnyjie留言 | 贡献
撤销Donnyjie讨论)的版本22443
第41行: 第41行:
         return nil
         return nil
     elseif empty1 then
     elseif empty1 then
         return '{| style="width:1000px"\n|- valign="bottom"' .. part2 .. '\n|}\n'
         return '{| style="max-width:1000px"\n|- valign="bottom"' .. part2 .. '\n|}\n'
     elseif empty2 then
     elseif empty2 then
         return '{| style="width:1000px"\n|- valign="bottom"' .. part1 .. '\n|}\n'
         return '{| style="max-width:1000px"\n|- valign="bottom"' .. part1 .. '\n|}\n'
     else
     else
         return '{| style="width:1000px"\n|- valign="bottom"' .. part1 .. '\n|-' .. part2 .. '\n|}\n'    end
         return '{| style="max-width:1000px"\n|- valign="bottom"' .. part1 .. '\n|-' .. part2 .. '\n|}\n'    end
end
end


第73行: 第73行:
     local r = tonumber(frame.args[3])
     local r = tonumber(frame.args[3])
     local cnt = 0
     local cnt = 0
     local ret = '{| style="width:1000px"\n|-valign="bottom"'
     local ret = '{| style="max-width:1000px"\n|-valign="bottom"'
     for i = l, r do
     for i = l, r do
         if byIndex[i] ~= nil and ships[byIndex[i]].type == type then
         if byIndex[i] ~= nil and ships[byIndex[i]].type == type then