Modul:CladeN
Megjelenés
A modult a Modul:CladeN/doc lapon tudod dokumentálni
local p = {}
function p.main(frame)
local args = frame:getParent().args
local output = {}
local indent = 0
table.insert(output, '<div style="font-size:90%;line-height:130%;background-color:#f8f8ff;border:1px solid #aaa;padding:0.5em;">')
for i = 1, 20 do
local label = args[i]
if label and label ~= '' then
local spaces = string.rep(" ", indent)
table.insert(output, spaces .. label .. '<br/>')
indent = indent + 1
end
end
table.insert(output, '</div>')
return table.concat(output, "\n")
end
return p