Module:Biota infobox/test
< Module:Biota infobox
Jump to navigation
Jump to search
Revision as of 14:17, 28 January 2020 by blackwiki>Jts1882 (create with skeleton convert taxobox function)
Documentation for this module may be created at Module:Biota infobox/test/doc
require('Module:No globals')
local p = {} -- exposed variables
local args = {}
function p.convert(frame)
args = frame.args
local template = {'{{speciesbox '};
for k,v in pairs(args) do
table.insert (template, table.concat ({' |'..k..'=', v}));
end
table.insert (template, '}}'); -- close the template
return table.concat (template, '\n');
end
return p