Module:TaxonList

This is an old revision of this page, as edited by Peter coxhead (talk | contribs) at 17:23, 10 November 2017. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

local p = {}

function p.main(frame)
	local result = ''
	local num
	for name, value in pairs(frame.args) do
		num = tonumber(name)
		if num == nil then num = -1 end
		result = result .. name .. ' (' .. num .. ') = ' .. value .. '$\n'
	end
	return result
end

return p