Модуль:Bananas

Материал из Буквицы
Перейти к навигации Перейти к поиску

Для документации этого модуля может быть создана страница Модуль:Bananas/doc

-- For unit tests, see [[Module:Bananas/testcases]]
local p = {}

function p.hello()
age=2
return age .. mw.language.new( 'ru' ):plural( age, 'год', 'года', 'лет')

--tostring (os.date("%c",4294967295)),"@",
--tostring (os.date("%c",2147483647)),"@",
--tostring (os.date("%c",-2147483647)),"@",
--tostring (os.date("%c",2147483650)),"@",
--tostring (os.date("%c",-2147483650)),"@",
-- tostring (os.time()),":",tonumber (os.time({year=1911, day=11, month=11,})) -- return "Hello, world a!"
--return tostring (os.time()),":",tonumber(os.time())
end

return p