查看“模块:Calcgrangepoints”的源代码
←
模块:Calcgrangepoints
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您没有权限编辑
模块
名字空间内的页面。
您可以查看和复制此页面的源代码。
local p = {} function p.cgp(frame) --Template must call Calcsellprice and send result here local price = tonumber(frame.args.p) --quality must be 0, 1, 2, or 4 local quality = tonumber(frame.args.q) local totalpoints = 0 totalpoints = quality + 1 if (price >= 20) then totalpoints = totalpoints + 1 end if (price >= 90) then totalpoints = totalpoints + 1 end if (price >= 200) then totalpoints = totalpoints + 1 end if (price >= 300 and quality < 2) then totalpoints = totalpoints + 1 end if (price >= 400 and quality < 1) then totalpoints = totalpoints + 1 end return totalpoints end return p
该页面使用的模板:
模块:Calcgrangepoints/doc
(
查看源代码
)
返回至
模块:Calcgrangepoints
。
导航菜单
个人工具
创建账户
登录
名字空间
模块
讨论
变种
视图
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
未翻译的页面
帮助:编辑入门
随机页面
官方链接
官方网站
官方论坛
官方商品
Discord
Reddit
工具
链入页面
相关更改
上传文件
特殊页面
页面信息