Module:Hatnote: Difference between revisions

Content deleted Content added
Make empty function for direct invokation
Tag: Reverted
Revert
 
(3 intermediate revisions by 2 users not shown)
Line 136:
-- Produces standard hatnote text. Implements the {{hatnote}} template.
--------------------------------------------------------------------------------
p[''] = function (frame) return p.hatnote(frame:newChild{ title = "Template:Hatnote" }) end
 
function p.hatnote(frame)
Line 143:
if not s then
return p.makeWikitextError(
'no text specified: ' .. args[1],
'Template:Hatnote#Errors',
args.category