Difference between revisions of "Module:Sandbox/Ahecht/pagecreator"

From blackwiki
Jump to navigation Jump to search
blackwiki>Ahecht
m (7 revisions imported)
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:
  
 
function p.user(frame)
 
function p.user(frame)
     return mw.title.getCurrentTitle()
+
     return mw.title.getCurrentTitle():getContent()
 
end
 
end
  
 
return p
 
return p

Latest revision as of 09:14, 27 September 2020

Script error: No such module "Sandbox/ahecht/pagecreator".

Usage

{{#invoke:Sandbox/Ahecht|function_name}}



local p = {}

function p.user(frame)
    return mw.title.getCurrentTitle():getContent()
end

return p