Module:linkeach
- This module lacks a documentation subpage. Please create it.
- Useful links: subpage list • links • transclusions • testcases • sandbox
local export = {}
function export.link(frame)
local args = frame.args
local str = args[1]
local words = mw.text.split(str, " ")
for _, word in ipairs(words) do
word = "[[Contionary:" .. word .. "|" .. word .. "]]"
end
return table.concat(words, " ")
end
return export