Module:Demographics Religion

require "Module:Demographics Basics" require "Module:Demographics Database"

local p={} function p.total(frame) return total_table(demographics.religion,frame.args[1]) end function p.main(frame) return fetch_table(demographics.religion,frame.args[1],frame.args[2]) end function p.generate(frame) if (frame.args[2] == "hun") then require "Module:Demographics Hun" return hun_generate(demographics.religion,frame.args[1],"Religion") else return generate(demographics.religion,frame.args[1],"Religion") end end return p