View source for Module:Sidebar or footer
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.
require('Module:No globals')
local p = {}
local Sidebar = require('Module:Sidebar')
local Navbox = require('Module:Navbox')
function p.main(frame)
local getArgs = require('Module:Arguments').getArgs
local args = getArgs(frame)
local footer = args['footer']
local i, j, ni, k, v
-- process the groups and lists
local groups, lists, nums = {}, {}, {}
for k,v in pairs(args) do
if type(k) == 'string' and k:match('^list[0-9][0-9]*_[0-9][0-9]*$') then
i = mw.ustring.gsub(k,'^list([0-9][0-9]*)_([0-9][0-9]*)$', '%1')
j = mw.ustring.gsub(k,'^list([0-9][0-9]*)_([0-9][0-9]*)$', '%2')
i = tonumber(i)
000
1:0
Templates used on this page:
Return to Module:Sidebar or footer.