Module:Navbox with collapsible groups: Difference between revisions
testing
(testing) |
|||
Line 1: | Line 1: | ||
-- This module implements {{Navbox with collapsible groups}} | -- This module implements {{Navbox with collapsible groups}} | ||
local p = {} | local p = {} | ||
-- helper functions | -- helper functions | ||
Line 21: | Line 18: | ||
end | end | ||
function p. | function p._box(args) | ||
local tracking = '' | local tracking = '' | ||
local Navbox = require('Module:Navbox') | |||
-- table for args passed to navbox | -- table for args passed to navbox | ||
Line 103: | Line 102: | ||
end | end | ||
function p. | function p.box(frame) | ||
args = require('Module:Arguments').getArgs(frame) | |||
-- Read the arguments in the order they'll be output in, to make references number in the right order. | -- Read the arguments in the order they'll be output in, to make references number in the right order. | ||
Line 119: | Line 115: | ||
_ = args.below | _ = args.below | ||
return p. | return p._box(args) | ||
end | end | ||
return p | return p |