Изменения

м
Нет описания правки
Строка 278: Строка 278:  
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 ..'</span>' end
+
if font_grey then output_str = '<span style="color: gray;">' .. output_str..' ('.. ctd_title ..')</span>' end
text = text ..'<ref>' .. output_str ..' ('.. ctd_title ..').</ref>'
+
text = text ..'<ref>' .. output_str ..'.</ref>'
 
end
 
end
 
 
Строка 302: Строка 302:  
 
 
-- DEBUG
 
-- DEBUG
--text = 'userparam: '.. frame.args['userparam'] ..'\n- text ='.. text_original ..'\n- view ='.. view ..'\n- type ='.. term_type ..'\n- style ='.. tostring(style) ..' ⇒ font_grey ='.. tostring(font_grey) ..'; add_origin ='.. tostring(add_origin) ..'; add_description ='.. tostring(add_description) ..'\n- specification ='.. specification ..'\nOUTPUT: '.. text
+
--text = 'userparam: '.. frame.args['userparam'] ..'\n- text ='.. text_original ..'\n- view ='.. view ..'\n- type ='.. term_type ..'\n- style ='.. tostring(style) ..' ⇒ font_grey ='.. tostring(font_grey) ..'; add_origin ='.. tostring(add_origin) ..'; add_description ='.. tostring(add_description) ..'; add_link ='.. tostring(add_link) ..'\n- specification ='.. specification ..'\nOUTPUT: '.. text
 
--return  text  
 
--return  text