跳转到内容
主菜单
主菜单
移至侧栏
隐藏
导航
首页
最近更改
随机页面
沙盒
编辑指导
用户守则
编写指导
社群首页
服务器索引
推荐服务器
知名服务器
服务器分类
基岩版服务器
Java版服务器
服务端教程
友情链接
MCBBS Wiki
像素科技
关于
站长主页
交流群
QQ频道
MCServerWiki
搜索
搜索
外观
创建账号
登录
个人工具
创建账号
登录
未登录编辑者的页面
了解详情
贡献
讨论
欢迎来到MCServerWiki!如果您是第一次来到这里,请点击:
创建账户
编辑“︁
模块:ProcessArgs/doc
”︁
模块
讨论
大陆简体
阅读
编辑源代码
查看历史
工具
工具
移至侧栏
隐藏
操作
阅读
编辑源代码
查看历史
常规
链入页面
相关更改
页面信息
导航
特殊页面
外观
移至侧栏
隐藏
警告:
您没有登录。如果您进行任何编辑,您的IP地址会公开展示。如果您
登录
或
创建账号
,您的编辑会以您的用户名署名,此外还有其他益处。
反垃圾检查。
不要
加入这个!
{{documentation header}} <!-- Documentation here --> This module allows arguments to be merged and normalised. This also has the side-effect of making the arguments a real table instead of an empty table with a metatable to access the args. This allows the <code>#</code> operator to work, as well as allowing new values to be added to the table, without being ignored when iterating. The <code>norm</code> function will normalise the arguments passed to it, trimming whitespace and setting empty arguments to <code>nil</code>. If a table isn't passed to the function, it will automatically get the current frame's parent arguments table. The <code>merge</code> function will merge two tables together, overwriting duplicate values from the first table with the second table's value, as well as doing the same as the <code>norm</code> function if the norm parameter is <code>true</code>. If the first parameter isn't a table, it is used as the value for the norm parameter, and it will automatically get the current frame's directly passed arguments table and merge it with the current frame's parent arguments table. <includeonly> <!-- Template categories/interwiki here --> [[Category:元模块]] </includeonly> <noinclude> <!-- Documentation categories/interwiki here --> </noinclude>
摘要:
请注意,所有对MCServerWiki的贡献均可能会被其他贡献者编辑、修改或删除。如果您不希望您的文字作品被随意编辑,请不要在此提交。
您同时也向我们承诺,您提交的内容为您自己所创作,或是复制自公共领域或类似自由来源(详情请见
MCServerWiki:著作权
)。
未经许可,请勿提交受著作权保护的作品!
取消
编辑帮助
(在新窗口中打开)
该页面使用的模板:
模板:Documentation header
(
编辑
)
模块:Documentation
(
编辑
)
模块:ProcessArgs
(
编辑
)
搜索
搜索
编辑“︁
模块:ProcessArgs/doc
”︁
添加话题