Module:Citation/CS1: Difference between revisions
m
check for empty parameter
m>Dragons flight (workaround for limitations of formatDate) |
m>Dragons flight m (check for empty parameter) |
||
Line 285: | Line 285: | ||
one = person.last | one = person.last | ||
local first = person.first | local first = person.first | ||
if (first ~= nil) then | if (first ~= nil and first ~= '') then | ||
if ( "vanc" == format ) then first = reducetoinitials(first) end | if ( "vanc" == format ) then first = reducetoinitials(first) end | ||
one = one .. namesep .. first | one = one .. namesep .. first |