求真百科歡迎當事人提供第一手真實資料,洗刷冤屈,終結網路霸凌。

變更

前往: 導覽搜尋

模块:List

增加 58 位元組, 6 年前
已保护“模块:List”:高风险模板([编辑=仅管理员](无限期)[移动=仅管理员](无限期))
data.classes = {}
if listType == 'horizontal' or listType == 'horizontal_ordered' then
table.insert(data.classes, 'hlist hlist-separated')
elseif listType == 'unbulleted' then
table.insert(data.classes, 'plainlist')
item.style = args['item' .. tostring(num) .. '_style']
or args['item_style' .. tostring(num)]
or args['li_style' .. tostring(num)]
item.value = args['item' .. tostring(num) .. '_value']
or args['item_value' .. tostring(num)]
or args['li_value' .. tostring(num)]
table.insert(data.items, item)
end
local ret = ''
if isDeprecated then
ret = ret .. '[[Category:List templates with deprecated parameters含有过期参数的列表模板]]'
end
return ret
if not listType or not listTypes[listType] then
error(string.format(
"bad argument #1 to 'makeList' ('%s' is not a valid list type不是合适的列表类型)",
tostring(listType)
), 2)
匿名用戶