Модуль:Dates: различия между версиями

Содержимое удалено Содержимое добавлено
м для упрощения переноса в другие разделы
ссылка только с даты по григорианскому календарю, дата по юлианскому с комментарием
Строка 65:
oj,' ',monthg[om],' ([[',j,' ',monthg[m],']]) ',Year0(y)
}
) or {-- ДД [[ДД ММММ|ДД (ДД) ММММ]] [[ГГГГ]]
oj,' [[',j,' ',monthg[m],'|',oj,' (',j,') ',monthg[m],']] ',Year0(y)
}
) or {'[[',j,' ',monthg[m],']] ',Year0(y)}
Строка 78:
om and {-- ДД ММММ ([[ДД ММММ]])
oj,'&nbsp;',monthg[om],' ([[',j,'&nbsp;',monthg[m],']])</span>'
} or {-- ДД [[ДД ММММ|ДД (ДД) ММММ]]
oj,'&nbsp;[[',j,' ',monthg[m],'|',oj,'&nbsp;(',j,')&nbsp;',monthg[m],']]</span>'
}
) or {'[[',j,'&nbsp;',monthg[m],']]</span>'}
Строка 416:
nd, genitivusMonthes[nm], nominativeYear( ny ) )
elseif (template == "124") then
datePart = datePart .. JulianComment(string.format( "[[%d", %s|%dod (%d) %s]]",
).. string.format( " [[%d %s|(%d) %s]]",
nd, genitivusMonthes[nm], od, nd, genitivusMonthes[nm] )
elseif (template == "1234") then
datePart = datePart .. JulianComment(string.format( "[[%d", %s|%dod (%d) %s]] %s",
).. string.format( " [[%d %s|(%d) %s]] %s",
nd, genitivusMonthes[nm], od, nd, genitivusMonthes[nm], nominativeYear( ny ) )
elseif (template == "1245") then
datePart = datePart .. JulianComment(string.format( "%d %s", od, genitivusMonthes[om] )