Jump to content

Module:SB: Difference between revisions

no edit summary
mNo edit summary
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