Module:Infobox: Difference between revisions
shorter variable name for what is a pretty simple role, really
m>Mr. Stradivarius (hack to parse the parameters in the 'correct' order) |
m>Mr. Stradivarius (shorter variable name for what is a pretty simple role, really) |
||
Line 255: | Line 255: | ||
end | end | ||
local temp | local temp | ||
local | local a = 1 | ||
local moreArgumentsExist = true | local moreArgumentsExist = true | ||
for j,v in ipairs(prefixTable) do | for j,v in ipairs(prefixTable) do | ||
Line 265: | Line 265: | ||
while moreArgumentsExist == true do | while moreArgumentsExist == true do | ||
moreArgumentsExist = false | moreArgumentsExist = false | ||
for i = | for i = a, a+19 do | ||
for j,v in ipairs(prefixTable) do | for j,v in ipairs(prefixTable) do | ||
temp = origArgs[v .. tostring(i)] | temp = origArgs[v .. tostring(i)] | ||
Line 273: | Line 273: | ||
end | end | ||
end | end | ||
a = a + 20 | |||
end | end | ||
end | end |