Module:Harvc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 48:
local contributors = ''; -- chapter or contribution authors
local source = ''; -- editor/author date list that forms a CITEREF link to a full citation; mimics harvnb output except year in parentheses
local in_text = ' In '; --
local result; -- the assemby of the above output
 
Line 113 ⟶ 114:
--wrap error messages in span
args.err_msg = '<span style="font-size:100%" class="error">' .. args.err_msg .. '</span>';
 
if ',' == args.separator then
in_text = in_text:lower(); -- CS2 style use lower case
end
 
-- and put it all together
result = span_open_tag .. contributors .. ' "' .. args.contribution .. '"' .. args.separator .. ' In 'in_text .. source .. args.p .. args.postscript .. '</span>' .. args.err_msg;
 
return result;