Модуль:Wikidata/date:версиослэн висъяськемзы

Пушкесэз ӵушемын Пушкесэз ватсамын
обновление из ru:Модуль:Wikidata/date
ч-п обновление из ru:Модуль:Wikidata/date
391-тӥ чур:
local year = math.floor( math.abs(time.year) / 10 ) * 10;
if ( categoryNamePrefix ) then
return year .. '-е до н. э.[[КCategory:' .. categoryNamePrefix .. ' в ' .. year .. '-е годы до н. э.]]';
else
return '' .. year .. ' до н. э.';
398-тӥ чур:
local year = math.floor( time.year / 10 ) * 10;
if ( categoryNamePrefix ) then
return year .. '-е[[КCategory:' .. categoryNamePrefix .. ' в ' .. year .. '-е годы]]';
else
return '' .. year;
413-тӥ чур:
end
if ( categoryNamePrefix ) then
return '[[' .. century .. ' век до н. э.]][[КCategory:' .. categoryNamePrefix .. ' в ' .. century .. ' веке до н. э.]]'
else
return '[[' .. century .. ' век до н. э.]]'
423-тӥ чур:
end
if ( categoryNamePrefix ) then
return '[[' .. century .. ' век]][[КCategory:' .. categoryNamePrefix .. ' в ' .. century .. ' веке]]'
else
return '[[' .. century .. ' век]]'
435-тӥ чур:
local millenium = math.floor( (math.abs( time.year) - 1) / 1000 ) + 1;
if ( categoryNamePrefix ) then
return '[[' .. millenium .. ' тысячелетие до н. э.]][[КCategory:' .. categoryNamePrefix .. ' в ' .. millenium .. ' тысячелетии до н. э.]]'
else
return '[[' .. millenium .. ' тысячелетие до н. э.]]'
446-тӥ чур:
if ( categoryNamePrefix ) then
if ( millenium == 'II' ) then
return '[[' .. millenium .. ' тысячелетие]][[КCategory:' .. categoryNamePrefix .. ' во ' .. millenium .. ' тысячелетии]]'
else
return '[[' .. millenium .. ' тысячелетие]][[КCategory:' .. categoryNamePrefix .. ' в ' .. millenium .. ' тысячелетии]]'
end
else