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

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

模块:舰娘:修订间差异

来自舰R百科
无编辑摘要
无编辑摘要
第23行: 第23行:
p['属性'] = function(frame)
p['属性'] = function(frame)
     local ship = ships[frame.args[2]]
     local ship = ships[frame.args[2]]
     if ship == nil then return '' end
    local default = frame.args[3]
    if default == nil then default = '' end
     if ship == nil then return default end
     local ret = ship[frame.args[1]]
     local ret = ship[frame.args[1]]
     if ret == nil then return '' end
     if ret == nil then return default end
     return ret
     return ret
end
end