Module:also

From Laenkea
Revision as of 15:53, 9 August 2023 by Maria (talk | contribs)
Jump to navigation Jump to search

{{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