Template:Infobox demographics/doc

This template can be used to provide a list of demographic subgroups with populations in a geographic or political region.

Basic usage


Automatic percentages
To enable automatic computation of the percentages, use yes. The template will attempt to round each percentage to a fixed number of significant digits. To override the default rounding percentage, specify the number of decimal places using round. For example, use 2 for two decimal places. The total population used for the percentages is computed by summing the values of  through. To override the total, use val, where  is the total population.

Manual percentages
If you would like to manually specify the percentages, use

