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

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

模块:装备图鉴:修订间差异

来自舰R百科
Donnyjie留言 | 贡献
无编辑摘要
Donnyjie留言 | 贡献
无编辑摘要
 
(未显示2个用户的6个中间版本)
第17行: 第17行:
     local type = tonumber(frame.args[1])
     local type = tonumber(frame.args[1])
     local tempret = {"", "", "", "", "", ""}
     local tempret = {"", "", "", "", "", ""}
     local ret = '{| class="wikitable fix-table-header sortable" style="text-align:center; "\n|-\n!立绘!!名称!!火力!!装甲!!命中!!回避!!对空!!对潜!!鱼雷!!轰炸!!索敌!!幸运!!射程!!对空补正!!特效'
     local ret = '{| class="wikitable sortable" style="text-align:center; "\n|- style="position:sticky; top:0" class="citizen-overflow-sticky-header"\n!图标!!装备名称!!火力!!装甲!!命中!!回避!!对空!!对潜!!鱼雷!!轰炸!!索敌!!幸运!!射程!!备注'
     for j,v in pairs(equipts) do
     for j,v in pairs(equipts) do
         if v.type == type and tonumber(v.index) ~= 0 then
         if v.type == type and tonumber(v.index) ~= 0 and tonumber(v.rarity) ~= 0 then
             tempret[tonumber(v.rarity)] = ret[tonumber(v.rarity)] .. '\n|-\n' .. expand(tonumber(v.index))
             tempret[tonumber(v.rarity)] = tempret[tonumber(v.rarity)] .. '\n|-\n' .. expand(tonumber(v.index))
         end
         end
     end
     end