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:41, 21 October 2022
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
Pavel Malakhov
Bureaucrats
,
Interface administrators
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Editors (Semantic MediaWiki)
,
Suppressors
,
Administrators
, trusted
10,257
edits