Module:List: Difference between revisions
NeonWabbit (talk | contribs) Created page with "local libUtil = require('libraryUtil') local checkType = libUtil.checkType local mTableTools = require('Module:TableTools') local p = {} local listTypes = { ['bulleted'] = true, ['unbulleted'] = true, ['horizontal'] = true, ['ordered'] = true, ['horizontal_ordered'] = true } function p.makeListData(listType, args) -- Constructs a data table to be passed to p.renderList. local data = {} -- Classes and TemplateStyles data.classes = {} data.templatestyles = ''..." |
NeonWabbit (talk | contribs) No edit summary |
||
| Line 185: | Line 185: | ||
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 | ||