Module:Template documentation

local p = {}

function p.parameters(frame) local html = mw.html.create('table'):addClass('wikitable') html:tag('tr') :tag('th') :wikitext('Parameter') :done :tag('th') :wikitext('Description') :done :done for k, v in pairs(frame:getParent.args) do       html:tag('tr') :tag('td') :wikitext(' ') :done :tag('td') :wikitext(v) :done :done end return tostring(html) end

return p