Module:RfD: Difference between revisions

Content deleted Content added
Jackmcbarn (talk | contribs)
let this do the subst part too
Jackmcbarn (talk | contribs)
fix error and use safesubst
Line 38:
-- called if the redirect up for discussion is being viewed
p[''] = function(frame)
return makeRfdNotice(frame.args) .. frame.args.content[1]
end
 
local substText = '{{ {{{|safesubst:}}}#invoke:RfD|<includeonly>1</includeonly>|name = %s|%s\n'
.. '<!-- Do not use the "Rfd/core" template directly; the above line is generated by {{subst:Rfd}}. -->\n<!-- End of RFD message. Feel free to edit beyond this point. -->|\n%s\n}}'