Module:User:Mustbeotherwise/testing
local p = {}
local intros = {
nfn = [=[[[File:Ambox important.svg|18px|alt=]] '''Not done for now'''<br>Thank you for your submission! Unfortunately, your edit request is not being implemented at this time. This is because:]=],
no = [=[[[File:Symbol unrelated.svg|18px|alt=]] '''Not done'''<br>Thank you for your submission! Unfortunately, your edit request is not being implemented. This is because:]=]
}
local outros = {
corpo = [=[Feel free to open another COI edit request once you've addressed these issues. Thanks.]=],
friendly = [=[Thank you for your submission and feel free to reopen your submission when you've addressed the outlined issue(s). Also, feel free to ping me if you have any questions, though I may be too busy to assist you. Thanks!]=]
}
local itemPool = {
is = [=[Some or all of your sources appear not to be independent sources. You can read more on Wikipedia's policy at [[Wikipedia:Independent sources]].]=],
rs = [=[Some or all of your sources appear not to be reliable sources. You can read more on Wikipedia's policy at [[Wikipedia:Reliable sources]].]=],
inline = [=[Your proposed revision lacks inline citations. Please cite your references using inline citations as outlined at [[Wikipedia:Citing sources#Inline citations]] and [[Wikipedia:Inline citation]].]=],
bare = [=[Some or all of your citations are currently formatted as [[WP:Bare URLs|bare URLs]]. Please format your citations using Wikipedia's general citation styles or use the "cite" button in the editor.]=],
redcite = [=[Your citations are missing necessary information. Please add the required information as noted.]=],
npov = [=[Some of the requested changes are written in a promotional tone. Please review [[WP:Neutral point of view]] and revise accordingly.]=],
unclear = [=[It is not clear what specific changes you are requesting. Please describe the changes using a clear "change X to Y" format.]=],
unexplained = [=[You are requesting removal of sourced content. Sourced material is not normally removed without a clear reason. See [[Wikipedia:Content removal]] for more information.]=],
noreason = [=[You have not adequately explained why some or all of your proposals should be implemented. Please provide your reasoning.]=]
}
function p.render(frame)
local args = frame:getParent().args
local output = {}
if args.intro and args.intro ~= "" then
local introText = intros[args.intro] or args.intro
table.insert(output, frame:preprocess(introText))
end
if args.items and args.items ~= "" then
local itemList = mw.text.split(args.items, "|")
for _, item in ipairs(itemList) do
item = mw.text.trim(item)
if item ~= "" then
local text = itemPool[item] or item
table.insert(output, "# " .. frame:preprocess(text))
end
end
end
if args.outro and args.outro ~= "" then
local outroText = outros[args.outro] or args.outro
table.insert(output, frame:preprocess(outroText))
end
return table.concat(output, "\n")
end
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.