List: Difference between revisions
source>Xover m 1 revision imported from w:Module:List: re-sync from enWP |
m 1 revision imported |
||
| (4 intermediate revisions by 4 users not shown) | |||
| Line 149: | Line 149: | ||
return data.templatestyles .. tostring(root) | return data.templatestyles .. tostring(root) | ||
end | end | ||
| Line 177: | Line 161: | ||
local data = p.makeListData(listType, args) | local data = p.makeListData(listType, args) | ||
local list = p.renderList(data) | local list = p.renderList(data) | ||
return list | |||
return list | |||
end | end | ||
| Line 185: | Line 168: | ||
local mArguments = require('Module:Arguments') | local mArguments = require('Module:Arguments') | ||
local origArgs = mArguments.getArgs(frame, { | local origArgs = mArguments.getArgs(frame, { | ||
frameOnly = ((frame and frame.args and frame.args.frameonly or '') ~= ''), | |||
valueFunc = function (key, value) | valueFunc = function (key, value) | ||
if not value or not mw.ustring.find(value, '%S') then return nil end | if not value or not mw.ustring.find(value, '%S') then return nil end | ||