跳到内容
折叠侧栏
删除百科
搜索
个人工具
创建账号
登录
导航
首页
分类索引
随机条目
最近更改
工具
链入页面
相关更改
特殊页面
页面信息
查看“Module:DPHowMuch”的源代码
模块
讨论
English
阅读
查看源代码
查看历史
更多
阅读
查看源代码
查看历史
←
Module:DPHowMuch
因为以下原因,您没有权限编辑本页:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
local p = {} function p.uniqueeditors(frame) local args = require('Module:Arguments').getArgs(frame) local n = tonumber(args[1]) if( n == 1 ) then local category = '[[Category:回收站:只有' .. n .. '人编辑的条目]]' return category elseif ( n >= 2 and n <= 10 ) then local category = '[[Category:回收站:' .. n .. '人编辑的条目]]' return category elseif ( n > 10 and n <=15 ) then local category = '[[Category:回收站:超过10人编辑的条目]]' return category elseif ( n > 15 and n <=20 ) then local category = '[[Category:回收站:超过15人编辑的条目]]' return category elseif ( n > 20 and n <=25 ) then local category = '[[Category:回收站:超过20人编辑的条目]]' return category elseif ( n > 25 and n <=30 ) then local category = '[[Category:回收站:超过25人编辑的条目]]' return category elseif ( n > 30 and n <=35 ) then local category = '[[Category:回收站:超过30人编辑的条目]]' return category elseif ( n > 35 and n <=40 ) then local category = '[[Category:回收站:超过35人编辑的条目]]' return category elseif ( n > 40 and n <=45 ) then local category = '[[Category:回收站:超过40人编辑的条目]]' return category elseif ( n > 45 and n <=50 ) then local category = '[[Category:回收站:超过45人编辑的条目]]' return category elseif ( n > 50 and n <=60 ) then local category = '[[Category:回收站:超过50人编辑的条目]]' return category elseif ( n > 60 and n <=70 ) then local category = '[[Category:回收站:超过60人编辑的条目]]' return category elseif ( n > 70 and n <=80 ) then local category = '[[Category:回收站:超过70人编辑的条目]]' return category elseif ( n > 80 and n <=90 ) then local category = '[[Category:回收站:超过80人编辑的条目]]' return category elseif ( n > 90 and n <=100 ) then local category = '[[Category:回收站:超过90人编辑的条目]]' return category elseif ( n > 100 and n <=150 ) then local category = '[[Category:回收站:超过100人编辑的条目]]' return category elseif ( n > 150 and n <=200 ) then local category = '[[Category:回收站:超过150人编辑的条目]]' return category elseif ( n > 200 ) then local category = '[[Category:回收站:超过200人编辑的条目]]' return category end end function p.counttotal(frame) local args = require('Module:Arguments').getArgs(frame) local n = tonumber(args[1]) if (n<=2) then local category = '[[Category:回收站:小于等于2次编辑的条目]]' return category elseif (n>2 and n<=5) then local category = '[[Category:回收站:'..n..'次编辑的条目]]' return category elseif (n>5 and n<=10) then local category = '[[Category:回收站:超过5次编辑的条目]]' return category elseif (n>10 and n<=15) then local category = '[[Category:回收站:超过10次编辑的条目]]' return category elseif (n>15 and n<=20) then local category = '[[Category:回收站:超过15次编辑的条目]]' return category elseif (n>20 and n<=30) then local category = '[[Category:回收站:超过20次编辑的条目]]' return category elseif (n>30 and n<=40) then local category = '[[Category:回收站:超过30次编辑的条目]]' return category elseif (n>40 and n<=50) then local category = '[[Category:回收站:超过40次编辑的条目]]' return category elseif (n>50 and n<=100) then local category = '[[Category:回收站:超过50次编辑的条目]]' return category elseif (n>100 and n<=150) then local category = '[[Category:回收站:超过100次编辑的条目]]' return category elseif (n>150 and n<=200) then local category = '[[Category:回收站:超过150次编辑的条目]]' return category elseif (n>200 and n<=300) then local category = '[[Category:回收站:超过200次编辑的条目]]' return category elseif (n>300 and n<=400) then local category = '[[Category:回收站:超过300次编辑的条目]]' return category elseif (n>400 and n<=500) then local category = '[[Category:回收站:超过400次编辑的条目]]' return category elseif (n>500 and n<=600) then local category = '[[Category:回收站:超过500次编辑的条目]]' return category elseif (n>600 and n<=700) then local category = '[[Category:回收站:超过600次编辑的条目]]' return category elseif (n>700 and n<=800) then local category = '[[Category:回收站:超过700次编辑的条目]]' return category elseif (n>800 and n<=900) then local category = '[[Category:回收站:超过800次编辑的条目]]' return category elseif (n>900) then local category = '[[Category:回收站:超过900次编辑的条目]]' return category end end function p.countview(frame) local args = require('Module:Arguments').getArgs(frame) local n = tonumber(args[1]) if tonumber(n) then if (n==0) then local category = '[[Category:回收站:0次浏览的条目]]' return category elseif (n>0 and n<=10) then local category = '[[Category:回收站:少于10次浏览的条目]]' return category elseif (n>10 and n<=20) then local category = '[[Category:回收站:超过10次浏览的条目]]' return category elseif (n>20 and n<=30) then local category = '[[Category:回收站:超过20次浏览的条目]]' return category elseif (n>30 and n<=40) then local category = '[[Category:回收站:超过30次浏览的条目]]' return category elseif (n>40 and n<=50) then local category = '[[Category:回收站:超过40次浏览的条目]]' return category elseif (n>50 and n<=100) then local category = '[[Category:回收站:超过50次浏览的条目]]' return category elseif (n>100 and n<=200) then local category = '[[Category:回收站:超过100次浏览的条目]]' return category elseif (n>200 and n<=500) then local category = '[[Category:回收站:超过200次浏览的条目]]' return category elseif (n>500 and n<=1000) then local category = '[[Category:回收站:超过500次浏览的条目]]' return category elseif (n>1000 and n<=2000) then local category = '[[Category:回收站:超过1000次浏览的条目]]' return category elseif (n>2000 and n<=5000) then local category = '[[Category:回收站:超过2000次浏览的条目]]' return category elseif (n>5000 and n<=10000) then local category = '[[Category:回收站:超过5000次浏览的条目]]' return category elseif (n>10000 and n<=20000) then local category = '[[Category:回收站:超过1万次浏览的条目]]' return category elseif (n>20000 and n<=50000) then local category = '[[Category:回收站:超过2万次浏览的条目]]' return category elseif (n>50000 and n<=100000) then local category = '[[Category:回收站:超过5万次浏览的条目]]' return category elseif (n>100000 and n<=200000) then local category = '[[Category:回收站:超过10万次浏览的条目]]' return category elseif (n>200000 and n<=300000) then local category = '[[Category:回收站:超过20万次浏览的条目]]' return category elseif (n>300000 and n<=400000) then local category = '[[Category:回收站:超过30万次浏览的条目]]' return category elseif (n>400000 and n<=500000) then local category = '[[Category:回收站:超过40万次浏览的条目]]' return category elseif (n>500000) then local category = '[[Category:回收站:超过50万次浏览的条目]]' return category end else category = '' return category end end function p.daysonwiki(frame) local args = require('Module:Arguments').getArgs(frame) local n = tonumber(args[1]) if (n==0) then local category = '[[Category:回收站:存留不到一天的条目]]' return category elseif (n>0 and n<=2) then local category = '[[Category:回收站:存留小于等于2天的条目]]' return category elseif (n>2 and n<=7) then local category = '[[Category:回收站:存留超过2天的条目]]' return category elseif (n>7 and n<=14) then local category = '[[Category:回收站:存留超过7天的条目]]' return category elseif (n>14 and n<=21) then local category = '[[Category:回收站:存留超过14天的条目]]' return category elseif (n>21 and n<=30) then local category = '[[Category:回收站:存留超过21天的条目]]' return category elseif (n>30 and n<=60) then local category = '[[Category:回收站:存留超过30天的条目]]' return category elseif (n>60 and n<=100) then local category = '[[Category:回收站:存留超过60天的条目]]' return category elseif (n>100 and n<=200) then local category = '[[Category:回收站:存留超过100天的条目]]' return category elseif (n>200 and n<=300) then local category = '[[Category:回收站:存留超过200天的条目]]' return category elseif (n>300 and n<=400) then local category = '[[Category:回收站:存留超过300天的条目]]' return category elseif (n>400 and n<=500) then local category = '[[Category:回收站:存留超过400天的条目]]' return category elseif (n>500 and n<=1000) then local category = '[[Category:回收站:存留超过500天的条目]]' return category elseif (n>1000 and n<=1500) then local category = '[[Category:回收站:存留超过1000天的条目]]' return category elseif (n>1500 and n<=2000) then local category = '[[Category:回收站:存留超过1500天的条目]]' return category elseif (n>2000 and n<=3000) then local category = '[[Category:回收站:存留超过2000天的条目]]' return category elseif (n>3000 and n<=4000) then local category = '[[Category:回收站:存留超过3000天的条目]]' return category elseif (n>4000 and n<=5000) then local category = '[[Category:回收站:存留超过4000天的条目]]' return category elseif (n>5000 and n<=6000) then local category = '[[Category:回收站:存留超过5000天的条目]]' return category elseif (n>6000 and n<=7000) then local category = '[[Category:回收站:存留超过6000天的条目]]' return category elseif (n>7000) then local category = '[[Category:回收站:存留超过7000天的条目]]' return category end end return p
本页使用的模板:
Module:DPHowMuch/doc
(
查看源代码
)
返回
Module:DPHowMuch
。