匿名
未登录
创建账号
登录
The Land of StarLight
搜索
查看“模块:ProcessArgs/doc”的源代码
来自The Land of StarLight
命名空间
模块
讨论
更多
更多
页面操作
阅读
查看源代码
历史
←
模块:ProcessArgs/doc
因为以下原因,您没有权限编辑该页面:
您请求的操作仅限属于该用户组的用户执行:
用户
您可以查看和复制此页面的源代码。
{{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:元模块]] [[en:Module:ProcessArgs]] [[ru:Модуль:ProcessArgs]] </includeonly> <noinclude> <!-- Documentation categories/interwiki here --> [[en:Module:ProcessArgs/doc]] [[ru:Модуль:ProcessArgs/док]] </noinclude>
该页面使用的模板:
模板:Documentation header
(
查看源代码
)
模块:Documentation
(
查看源代码
)
模块:ProcessArgs
(
查看源代码
)
返回
模块:ProcessArgs/doc
。
导航
快速跳转
TLSL(wiki首页)
- StarLight-Server
奇怪的折跃门
活跃玩家
重要领地合集
小黑屋
SLS官网
wiki工具
wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志