Module:Template introspection: Difference between revisions
change output to display functions but link to modules |
change text again |
||
| Line 64: | Line 64: | ||
local calls = {} | local calls = {} | ||
for _, call in ipairs(invokes) do | for _, call in ipairs(invokes) do | ||
table.insert(calls, string.format("[[Module: | table.insert(calls, string.format("%s from [[Module:%s]]", call.func, call.module)) | ||
end | end | ||
return string.format(":''%s %s''\n", hatnote, table.concat(calls, ", ")) | return string.format(":''%s %s''\n", hatnote, table.concat(calls, ", ")) | ||