View source for Module:Navbox
Jump to navigation
Jump to search
You do not have permission to edit this page, for the following reason:
You can view and copy the source of this page.
local p = {}
function p.box(frame)
local title = frame.args.title
if title == nil then
error("Missing title")
end
-- Assign group1, group2, etc to groups
local groups = {}
local i = 1
while frame.args["group" .. i] ~= nil do
local group = {
content = frame.args["group" .. i],
name = frame.args["groupName" .. i] -- can be nil
}
table.insert(groups, group)
i = i + 1
end
000
1:0
Template used on this page:
Return to Module:Navbox.