打开/关闭搜索
搜索
打开/关闭菜单
17
78
34
2.1K
INFWiki
导航
百科首页
最近更改
随机页面
特殊页面
上传文件
人气页面
入服指南
回响地标
百科创作
介绍
语法
打开/关闭外观设置菜单
notifications
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。
user-interface-preferences
个人工具
登录
查看“︁模块:User error”︁的源代码
来自INFWiki
查看
阅读
查看源代码
查看历史
associated-pages
模块
讨论
更多操作
←
User error
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您必须确认您的电子邮件地址才能编辑页面。请通过
参数设置
设置并确认您的电子邮件地址。
您可以查看和复制此页面的源代码。
-------------------------------------------------------------------------------- -- A less intimidating version of the built-in "error()" function, to help -- editors fix their mistakes when transcluding a template. -- -- @see [[wikia:w:c:Dev:Module:User error]] for a similar module. -------------------------------------------------------------------------------- local checkType = require("libraryUtil").checkType; return function (message, ...) checkType("Module:User error", 1, message, "string"); local result = mw.text.tag( "strong", { class="error" }, "Error: " .. message ); local categories = {}; for i = 1, select("#", ...) do local category = select(i, ...); checkType("Module:User error", 1 + i, category, "string", true); if (category and category ~= "") then table.insert(categories, "[[Category:" .. category .. "]]"); end end return result .. table.concat(categories); end;
该页面使用的模板:
User error/doc
(
查看源代码
)
返回
User error
。
查看“︁模块:User error”︁的源代码
来自INFWiki