Module:Header/docdata
Appearance
Documentation for this module may be created at Module:Header/docdata/doc
require('strict')
local p = {}
local attr_data = require('Module:Header/attribution').attr_data
function p.attrParamList()
local params = {}
-- formatting from [[Template:Parameter]]
for k, v in pairs(attr_data) do
params[v['index']] = '** <span class="wst-doc-parameter" style="background:#F0F0F0; color:#008740; font-weight:bold;">'
.. v['param_name'] .. '</span>'
end
return table.concat(params, '\n')
end
return p