Documentation for this module may be created at Module:Participants list team/doc
local getArgs = require('Module:Arguments').getArgs
local Links = require('Module:Links')
local Subheader = require('Module:Infobox/Widget/Subheader')
local ListWidget = require('Module:Infobox/Widget/List')
local Flags = require('Module:Flags')
local Participants = {}
function Participants.main(frame)
local args = getArgs(frame)
local currentTitleSplit = mw.text.split(mw.title.getCurrentTitle().text, '/')
local container = mw.html.create('div')
:addClass('p-team-container')
for key, value in pairs (args) do
mw.log('Ei hiti üldse?')
mw.log(key)
-- local values = mw.text.jsonDecode(value)
mw.log(value)
mw.log('!!!!!!!!!!!!!!!!')
-- if key ~= 'teamsize' then
-- for key2, value2 in pairs (value) do
-- mw.log('key2!??????????????????')
-- mw.log(key2)
-- mw.log(value2)
-- end
-- end
-- for key2, value2 in pairs ( values ) do
-- if string.find(mw.text.jsonEncode(properties), '"' .. key2 .. '"') then
-- else
-- table.insert(properties, key2)
-- end
-- end
end
return container
end
return Participants