Module:Print: Difference between revisions

From Kronopolis and the Flat Plane
No edit summary
Tag: Reverted
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
function print(p)
local p = {}
p.loop = function(frame)
local out = {}


for idx = 1, 5 do
function p.butt(frame)
table.insert(out, idx)
local butt = mw.loadJsonData('https://rp.klanen.org/wiki/kfp/api.php?action=query&list=categorymembers&cmlimit=max&cmtitle=Category:Spell&format=json')
end
return butt
end


return table.concat(out, "<br>")
return p
end
 
return p
end

Latest revision as of 16:58, 22 February 2023

Documentation for this module may be created at Module:Print/doc

local p = {}

function p.butt(frame)
	local butt = mw.loadJsonData('https://rp.klanen.org/wiki/kfp/api.php?action=query&list=categorymembers&cmlimit=max&cmtitle=Category:Spell&format=json')
	return butt
end

return p