Перейти к содержанию

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

м
нет описания правки
мНет описания правки
мНет описания правки
Строка 278: Строка 278:
end
end


-- add publishing date for a literature and lifetime for a person
local optional_lifetime =''
if term_type == 'литература' or term_type == 'личность' then
optional_lifetime = ', '.. lifetime
end
-- FOOTNOTE should be added
-- FOOTNOTE should be added
if view_footnote then
if view_footnote then
Строка 294: Строка 288:
output_str = output_str ..' '.. origin  
output_str = output_str ..' '.. origin  
else  
else  
output_str = output_str .. optional_lifetime
if term_type == 'литература' or term_type == 'личность' then
output_str = output_str .. ' ('.. lifetime ..')'
end
end
end
if add_description then output_str = output_str ..'. – '.. description end
if add_description then output_str = output_str ..'. – '.. description end