Module:Page: Difference between revisions

Content deleted Content added
I bet there's a better way to do this but I didn't think of it...
m The page->title thing again!
Line 60:
local result=title[field]
if type(result)=="function" then
return frame.preprocess(frame, "<pre><nowiki>" .. result(pagetitle,p1,p2,p3,p4,p5,p6,p7,p8,p9) [[</nowiki></pre><span style="display:none;">]]) -- I *think* these are all page:x() calls
else return tostring(result) -- note that nil values will be returned as "nil", not ""
end