Модуль:Тест
Материал из GeologyScience Wiki
Версия от 11:12, 26 августа 2021; PatukMI (обсуждение | вклад) (Новая страница: «local p = {} function p.add( frame ) local count = frame.args[1] local dot = frame.args[2] if dot == nil then dot =...»)
Для документации этого модуля может быть создана страница Модуль:Тест/doc
local p = {}
function p.add( frame )
local count = frame.args[1]
local dot = frame.args[2]
if dot == nil then
dot = '.'
end
local result = ''
for i=1,count do
result = dot .. result
end
return result
end
return p
