Module:also: Difference between revisions
Jump to navigation
Jump to search
(Created page with "local export = {} local m_links = require("Module:links") function export.show(frame) local args = frame:getParent().args local links = {} local i = 1 while args[i] do table.insert(links, "'''" .. m_links.full_link{term = args[i]} .. "'''") i = i + 1 end return "''See also:'' " .. table.concat(links, ", ") end") |
No edit summary |
||
Line 13: | Line 13: | ||
return "''See also:'' " .. table.concat(links, ", ") | return "''See also:'' " .. table.concat(links, ", ") | ||
end | end | ||
return export |
Revision as of 15:53, 9 August 2023
{{also}}
local export = {}
local m_links = require("Module:links")
function export.show(frame)
local args = frame:getParent().args
local links = {}
local i = 1
while args[i] do
table.insert(links, "'''" .. m_links.full_link{term = args[i]} .. "'''")
i = i + 1
end
return "''See also:'' " .. table.concat(links, ", ")
end
return export