Module:also: Difference between revisions

From Laenkea
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 difference)

Revision as of 15:52, 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