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 12:48, 15 April 2021
102 bytes added
,
12:48, 15 April 2021
no edit summary
Line 1:
Line 1:
−
local sb = {} --
function
package for HPB Scrapbooks
+
local sb = {} --
functions
package for HPB Scrapbooks
function sb.hello( frame )
function sb.hello( frame )
return "Hello, world!"
return "Hello, world!"
end
end
+
+
function sb.item_id( volume, page, item )
+
id = volume ..'-'.. page ..'-'.. item
+
return id
+
end
+
return sb
return sb
Pavel Malakhov
Bureaucrats
,
Interface administrators
,
Administrators (Semantic MediaWiki)
,
Curators (Semantic MediaWiki)
,
Editors (Semantic MediaWiki)
,
Suppressors
,
Administrators
, trusted
10,254
edits