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

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

м
нет описания правки
мНет описания правки
мНет описания правки
Строка 256: Строка 256:
if view_popup then
if view_popup then
if term_type == 'литература' or term_type == 'личность' then
if term_type == 'литература' or term_type == 'личность' then
output_str = term_without_link ..', '.. lifetime
output_str = term_without_link  
if add_origin then
output_str = output_str ..' '.. origin
else
output_str = output_str .. ', '.. lifetime
end
if add_description then output_str = output_str ..'. – '.. description end
else -- для 'понятие' и 'выражение'
else -- для 'понятие' и 'выражение'
output_str = description
output_str = description
if add_origin then output_str = output_str ..' '.. origin end
end
end
if add_origin   then output_str = output_str ..' '.. origin end
if add_origin   then output_str = output_str ..' '.. origin end
Строка 309: Строка 316:


output_str = ' [' .. output_str .. ']'
output_str = ' [' .. output_str .. ']'
if font_grey then output_str = '<span style="color: gray;">' .. output_str ..'</span>' end
if font_grey then output_str = '<span style="color: gray;">' .. output_str ..'</span>' end
text = text .. output_str
text = text .. output_str
end
end