Changes

36 bytes added ,  15:41, 21 October 2022
no edit summary
Line 38: Line 38:  
local arch_note = frame.args['archivist_notes']
 
local arch_note = frame.args['archivist_notes']
   −
if frame.args['author'] > 0 then
+
if isempty(frame.args['archivist_notes']) then
 +
str = 'by unknown author'
 +
else
 
str = 'by ' .. frame.args['author']
 
str = 'by ' .. frame.args['author']
else
  −
str = 'by unknown author'
   
end
 
end
   −
if arch_note =='' then
+
if not isempty(frame.args['archivist_notes']) then
str = 'by unknown author'
+
str = str .. frame.args['archivist_notes'] .. '. -- Arhchivist.'
else
  −
str = 'by ' .. frame.args['author']
   
end
 
end