Modul:col+
Roman
Dokumentasi untuk modul ini dapat dibuat di Modul:col+/doc
local p = {}
function p.render(frame)
local args = frame:getParent().args
local output = {}
local title = args["title"]
if not title or title == "" then
title = "-"
end
table.insert(output, frame:expandTemplate{ title = "der-top", args = { title } })
local lang = args[1] or ""
for i = 2, 99 do
local word = args[i]
if word and word ~= "" then
local line = "* {{l|" .. lang .. "|" .. word .. "}}"
table.insert(output, frame:preprocess(line))
end
end
table.insert(output, frame:expandTemplate{ title = "der-bottom" })
return table.concat(output, "\n")
end
return p