Module:template: Difference between revisions

ਕੋਈ ਸੋਧ ਸਾਰ ਨਹੀਂ
No edit summary
No edit summary
Line 9: Line 9:
i = i + 1
i = i + 1
end
end
for key, value in ipairs(args) do
for key, value in require("Module:table").sortedPairs(args) do
if type(key) == "string" then
if type(key) == "string" then
table.insert(out, "|" .. key .. "=" .. value)
table.insert(out, "|" .. key .. "=" .. value)