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

From blackwiki
Jump to navigation Jump to search
blackwiki>Ahecht
(Created page with 'local p = {} function p.user(frame) return "Test" end return p')
 
blackwiki>Ahecht
Line 2: Line 2:
  
 
function p.user(frame)
 
function p.user(frame)
     return "Test"
+
     return frame.title
 
end
 
end
  
 
return p
 
return p

Revision as of 19:49, 8 April 2015

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

Usage

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



local p = {}

function p.user(frame)
    return frame.title
end

return p