今天是2025年6月3日 第23周 星期二
代人,时大变了。
我们生活在大地上,但我们的梦想超越天空。
查看“模块:Collapsible list”的源代码
跳到导航
跳到搜索
因为以下原因,您没有权限编辑本页:
您可以查看和复制此页面的源代码。
-- This module implements {{collapsible list}}.
local p = {}
local function fmtListItem( data )
if not type( data ) == 'string' then
return ''
end
return mw.ustring.format( '<li style="line-height: inherit; margin: 0">%s</li>', data )
end
-- Returns an array containing the keys of all positional arguments
-- that contain data (i.e. non-whitespace values).
local function getArgNums( args )
local nums = {}
for k, v in pairs( args ) do
if type( k ) == 'number' and
k >= 1 and
math.floor( k ) == k and
type( v ) == 'string' and
mw.ustring.match( v, '%S' ) then
000
1:0
该页面使用的模板:
- Template:Documentation(查看源代码)(受保护)
- Template:Tl(查看源代码)
- Template:Transclude(查看源代码)
- 模块:Arguments(查看源代码)
- 模块:Category handler(查看源代码)
- 模块:Category handler/blacklist(查看源代码)
- 模块:Category handler/config(查看源代码)
- 模块:Category handler/data(查看源代码)
- 模块:Category handler/shared(查看源代码)
- 模块:Collapsible list(查看源代码)
- 模块:Collapsible list/doc(查看源代码)
- 模块:Documentation(查看源代码)
- 模块:Documentation/config(查看源代码)(受保护)
- 模块:Message box(查看源代码)
- 模块:Message box/configuration(查看源代码)
- 模块:Namespace detect/config(查看源代码)
- 模块:Namespace detect/data(查看源代码)
- 模块:Yesno(查看源代码)