Module:For: Difference between revisions

55 bytes added ,  8 years ago
Fixed issue with ipairs() running from 1
(Removed "/sandbox" on call to Module:Hatnote list)
(Fixed issue with ipairs() running from 1)
Line 15:
local use = args[1] --cases with parameter 1 unspecified, i.e. using "other uses", should probably be flagged
local pages = {}
function two (a, b, c) return a, b, 1 end --lets us run ipairs from 2
for k, v in ipairs(args) do
if for k, >v 1in thentwo(ipairs(args)) do table.insert(pages, v) end
end
return mHatnote._hatnote(
mHatlist.forSeeTableToString({{use = use, pages = pages}})
Anonymous user