Module:also

Revision as of 15:52, 9 August 2023 by Maria (talk | contribs) (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")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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