Module:also
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
table.sort(links, function(a,b) return a < b end)
return "<dt><dd>''See also:'' " .. table.concat(links, ", ") .. "</dd></dt>"
end
return export