Template:Historical populations is used as an information box on pages, showing each census year with a population, and a percent gain/loss comparison. It is intended to combine the functionalities of two existing templates, Template:USCensusPop and Template:Histpop, the former of which is specialized for the United States, and the latter of which lacks many features of the former.
Ideally, a four-digit year, but can be anything. Usually a multiple of 10, but does not have to be.
The population of row n. Must be a plain number with no formatting (commas, etc.).
Optional. The title of the table.
Historical populations (Default)
Optional. This is designed to add functionality specific to different regions or types of information. Currently the only value that does anything is USA.
USA Will link each year to the relevant United States Census entry. Years that do not have entries will be left alone.
Please think of more ideas for this feature.
Optional. The alignment of the table on the page.
Optional. The width of the table. Can be any valid CSS width value.
Optional. The collapsation state of the table. Set it to collapsed to collapse the table by default.
Optional. Whether to mark off every five entries with a line, to facilitate reading. This works best with large, linear lists (such as the US Census, which has been taken every 10 years for over 200 years), but should probably be turned off for small or irregular lists (e.g., less than 10 entries), where it could be confusing.
Optional. Whether to include an automatically generated column of percent differences. This works best with linear lists (1900, 1910, 1920, etc.) and should probably be turned off for irregular lists with missing data.
Optional. A footnote that will be displayed under the table. Every table should have a footnote indicating the source of the data.