Module:Cite Q/sandbox: Difference between revisions

Content deleted Content added
nowiki around title
truncate number of authors
Line 314:
get_name_list ('editor', citeq_args, qid, wdl); -- modify citeq_args table with editors from wikidata
end
end
local author_count = 0
for k, v in pairs(citeq_args) do
if k:find("^author%d+$") then
author_count = author_count + 1
end
end
if author_count > 8 then -- convention in astronomy journals
citeq_args['display-authors'] = citeq_args['display-authors'] or 3
end