Module:Citation/CS1: Difference between revisions

No edit summary
No edit summary
Line 1,659: Line 1,659:


]]
]]
 
max = 1;
local function get_display_names (max, count, list_name, etal)
local function get_display_names (max, count, list_name, etal)
        max = 1;
if is_set (max) then
if is_set (max) then
if 'etal' == max:lower():gsub("[ '%.]", '') then -- the :gsub() portion makes 'etal' from a variety of 'et al.' spellings and stylings
if 'etal' == max:lower():gsub("[ '%.]", '') then -- the :gsub() portion makes 'etal' from a variety of 'et al.' spellings and stylings