Module:Citation/CS1: Difference between revisions

imported>Trappist the monk
sync from sandbox;
 
No edit summary
Line 1,661: Line 1,661:


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