Open main menu
Home
Random
Log in
Settings
About Teopedia library
Disclaimers
Teopedia library
Search
Changes
← Older edit
Module:SB
(view source)
Revision as of 11:11, 14 April 2023
369 bytes added
,
11:11, 14 April 2023
m
+language and translator
Line 31:
Line 31:
-- Create footnote with item summary and notes by editor and archivist
-- Create footnote with item summary and notes by editor and archivist
+
-- View: TITLE by AUTHOR (signed as AUTHOR_SIGNED), SOURCE_TITLE, SOURCE_DETAILS.
+
-- Translated from LANGUAGE by TRANSLATOR. NOTES. ARCHIVIST_NOTES.
function sb.footnote( frame )
function sb.footnote( frame )
local str = ''
local str = ''
Line 60:
Line 62:
end
end
+
if not isempty(frame.args['language']) then
+
str = str .. '. Translated from ' .. frame.args['language']
+
if not isempty(frame.args['translator']) then
+
str = str .. ' by ' .. frame.args['translator']
+
end
+
end
if not isempty(frame.args['notes']) then
if not isempty(frame.args['notes']) then
str = str .. '. ' .. frame.args['notes']
str = str .. '. ' .. frame.args['notes']
Pavel Malakhov
Bureaucrats
,
Interface administrators
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Editors (Semantic MediaWiki)
,
Suppressors
,
Administrators
, trusted
10,252
edits