Open main menu
Home
Random
Log in
Settings
About Teopedia library
Disclaimers
Teopedia library
Search
Changes
← Older edit
Newer edit →
Module:SB
(view source)
Revision as of 15:29, 21 October 2022
65 bytes added
,
15:29, 21 October 2022
m
no edit summary
Line 4:
Line 4:
local id = frame.args['volume'] .. '-' .. frame.args['page'] .. '-' .. frame.args['item']
local id = frame.args['volume'] .. '-' .. frame.args['page'] .. '-' .. frame.args['item']
return id
return id
+
end
+
+
local function isempty(s)
+
return s == nil or s == ''
end
end
Line 39:
Line 43:
end
end
−
if frame.args['archivist_notes']
> 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
Pavel Malakhov
Bureaucrats
,
Interface administrators
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Editors (Semantic MediaWiki)
,
Suppressors
,
Administrators
, trusted
10,288
edits