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

м
нет описания правки
мНет описания правки
мНет описания правки
Строка 272: Строка 272:
if add_origin then output_str = output_str ..' '.. origin end
if add_origin then output_str = output_str ..' '.. origin end
if add_description then output_str = output_str ..'. – '.. description end
if add_description then output_str = output_str ..'. – '.. description end
if font_grey then output_str = '<span style="color: gray;">' .. output_str ..' ('.. ctd_title ..')</span>' end
if font_grey then output_str = '<span style="color: gray;">' .. output_str ..'</span>' end
text = text ..'<ref>' .. output_str ..'.</ref>'
text = text ..'<ref>' .. output_str ..' ('.. ctd_title ..').</ref>'
end
end
Строка 279: Строка 279:
if view_brackets then
if view_brackets then
if term_type == 'литература' or term_type == 'личность' then
if term_type == 'литература' or term_type == 'личность' then
output_str = term_with_link
output_str = term_without_link
else -- для 'понятие' и 'выражение'
else -- для 'понятие' и 'выражение'
output_str = description
output_str = description