今天是2025年4月14日 第16周 星期一
代人,时大变了。
我们生活在大地上,但我们的梦想超越天空。
查看“模块:Arguments”的源代码
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
-- This module provides easy processing of arguments passed to Scribunto from
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
local libraryUtil = require('libraryUtil')
local checkType = libraryUtil.checkType
local arguments = {}
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
if type(val) == 'string' then
val = val:match('^%s*(.-)%s*$')
if val == '' then
return nil
else
return val
end
else
000
1:0
该页面使用的模板:
- Template:Documentation(查看源代码)(受保护)
- 模块:Arguments(查看源代码)
- 模块:Arguments/doc(查看源代码)
- 模块:Category handler(查看源代码)
- 模块:Category handler/blacklist(查看源代码)
- 模块:Category handler/config(查看源代码)
- 模块:Category handler/data(查看源代码)
- 模块:Category handler/shared(查看源代码)
- 模块:Documentation(查看源代码)
- 模块:Documentation/config(查看源代码)(受保护)
- 模块:Message box(查看源代码)
- 模块:Message box/configuration(查看源代码)
- 模块:Namespace detect/config(查看源代码)
- 模块:Namespace detect/data(查看源代码)
- 模块:Yesno(查看源代码)
返回至模块:Arguments。