Module:Listbox

From Zelda Dungeon Wiki
Revision as of 23:26, June 29, 2014 by Locke (talk | contribs) (list function that simply invokes categorytree on the given category)
Jump to navigation Jump to search
Want an adless experience? Log in or Create an account.

Documentation for this module may be created at Module:Listbox/doc

local p = {}

function p.list(frame)
  local pages = frame:callParserFunction{
    name = '#categorytree',
    args = { frame.args[1], 'hideroot', mode = 'pages' }
  }
  return pages
end

return p