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

模块:装备:修订间差异

跳转到导航 跳转到搜索
添加291字节 、​ 2016年11月19日 (星期六)
无编辑摘要
(创建页面,内容为“local equipts = mw.loadData("模块:特殊数据2").equipts local tr = mw.loadData("模块:对照表") local p = { } p['稀有度'] = function(frame) return eq...”)
 
无编辑摘要
第3行: 第3行:


local p = { }
local p = { }
p['属性'] = function(frame)
    local equip = equipts[frame.args[2]]
    local default = frame.args[3]
    if default == nil then default = '' end
    if equip == nil then return default end
    local ret = ship[frame.args[1]]
    if ret == nil then return default end
    return ret
end


p['稀有度'] = function(frame)
p['稀有度'] = function(frame)
18,609

个编辑

导航菜单