Module:CommunosTestModule

From The First Descendant Wiki
Revision as of 00:14, 4 June 2024 by Communos (talk | contribs)

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

local p = {}
local tab_amount = 5

function p.test(frame)
local amount = tonumber(frame.args["amount"])
local parameter = frame.args["parameter"]
local i = 0
local tabs = "<tabber>"
while i<amount do
tabs = tabs.."test"
-- "|-|Rank"..i..{{=}}..parameter
i = i + 1
end
tabs = tabs.."</tabber>"
return frame:preprocess(tabs)

end


return p