因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
-- 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
000
1:0
本页使用的模板:
- 模板:Collapse bottom(查看源代码)
- 模板:Collapse bottom(查看源代码)
- 模板:Collapse top(查看源代码)
- 模板:Collapse top(查看源代码)
- 模板:Main other(查看源代码)
- 模板:Module link(查看源代码)
- 模板:Module link(查看源代码)
- 模板:Module other(查看源代码)
- 模板:Module rating(查看源代码)
- 模板:Ombox(查看源代码)
- 模板:Para(查看源代码)
- 模板:Sandbox other(查看源代码)
- 模板:Tag(查看源代码)
- 模板:Used in system(查看源代码)
- 模块:Arguments(查看源代码)
- 模块:Arguments/doc(查看源代码)
- 模块:Effective protection level(查看源代码)
- 模块:High-use(查看源代码)
- 模块:Message box(查看源代码)
- 模块:Message box/configuration(查看源代码)
- 模块:Message box/ombox.css(查看源代码)
- 模块:Separated entries(查看源代码)
- 模块:String(查看源代码)
- 模块:TableTools(查看源代码)
- 模块:Transclusion count(查看源代码)
- 模块:Transclusion count/data/A(查看源代码)
- 模块:Yesno(查看源代码)
返回模块:Arguments。