local p = function p.response(frame) key = frame.args[1] -- Now this will work with the code, etc. key = mw.text.trim(key) -- remove whitespace userlocation = frame.args[2] ResponseTable = -- Create table of possible responses ResponseTable["u"]= " Userfied - the page has been restored to the userspace at "..userlocation.."" ResponseTable["a"]= " Userfied - the page has been restored to the userspace at . You may work on improving the article's assertion of notability at its new location, but please contact the administrator who deleted the page, before moving it back to the article space. Please see the criteria for speedy deletion and the relevant notability guidelines - articles that are not in compliance will be deleted." ResponseTable["afd"]= " Not done - this Requests for Undeletion process is only for articles that were deleted uncontroversially, and does not apply to articles deleted after a deletion discussion. Since the article you are here about was deleted after a discussion took place, it cannot be undeleted through this process. However, if you believe that the outcome of the discussion did not reflect the consensus of the participants, or that significant new information has come to light since the article was deleted, you may contact the administrator who closed the discussion. After you do so, if your concerns are not addressed and you still seek undeletion, a request may be made at deletion review." ResponseTable["c"]=" Not done - this page was deleted in accordance with . If you believe that this decision was made in error, or that significant new information has come to light since the deletion, please contact the administrator who carried out the deletion. If you have already done so, your concerns can be taken to deletion review." ResponseTable["p"]=" Done - as a contested proposed deletion, the article has been restored on request." ResponseTable["afc"]=" Done - as an Articles for creation submission deleted under CSD G13, the page has been restored on request. Please edit the page to address the issues raised when it was declined, and re-submit it; 'Articles for creation' is not for the indefinite hosting of material found to be unsuitable for inclusion in the encyclopedia." response = ResponseTable[key] -- Select specific response return responseend return p -- Output selected response