Module:Nowiki
Jump to navigation
Jump to search
Documentation for this module may be created at Module:Nowiki/doc
local m = {}
-- failed attempt to inspect the raw text of whatever a template returns
function m.main(f)
local text = f.args[1]
-- local template = {
-- title = "Special:Prefixindex",
-- args = {
-- prefix = "Module:API_info",
-- }
-- }
-- local text = f:expandTemplate(template)
local t = {}
for s in text:gmatch(".") do
table.insert(t, " "..s)
end
return table.concat(t)
-- string.format("<nowiki>%s</nowiki>", f.args[1])
end
return m