Template:US Census population/doc

This template is used as an information box on pages, showing each census year with a population, and a percent gain/loss comparison. See Alabama as an example of how this template is rendered.

Parameters

 * align sets infobox alignment; values:
 * right float on the right side of the page; default
 * left to float it to the left
 * center for center alignment
 * none for left alignment, without wrapping text
 * align-fn: alignment of footnote
 * left
 * right
 * center default
 * deleted (or extinct): set to "yes" or "true" for places that are no longer measured by the US Census. Types of places that have been deleted from the Census's list of populated places include ghost towns (e.g. Manganese, Minnesota), places that have merged into another place (e.g. Borough of Princeton, New Jersey), and places that have been formally deorganized (e.g. Atkinson, Maine). Use this parameter to prevent an article from incorrectly appearing in.

Template Data for Visual Editor
{	"params": { "1790": {			"label": "1790 Census result (population)", "description": "How many people were recorded by the 1790 census?", "type": "number" },		"1800": {			"label": "1800 Census result (population)", "description": "How many people were recorded by the 1800 census?", "type": "number" },		"1810": {			"label": "1810 Census result (population)", "description": "How many people were recorded by the 1810 census?", "type": "number" },		"1820": {			"label": "1820 Census result (population)", "description": "How many people were recorded by the 1820 census?", "type": "number" },		"1830": {			"label": "1830 Census result (population)", "description": "How many people were recorded by the 1830 census?", "type": "number" },		"1840": {			"label": "1840 Census result (population)", "description": "How many people were recorded by the 1840 census?", "type": "number" },		"1850": {			"label": "1850 Census result (population)", "description": "How many people were recorded by the 1850 census?", "type": "number" },		"1860": {			"label": "1860 Census result (population)", "description": "How many people were recorded by the 1860 census?", "type": "number" },		"1870": {			"label": "1870 Census result (population)", "description": "How many people were recorded by the 1870 census?", "type": "number" },		"1880": {			"label": "1880 Census result (population)", "description": "How many people were recorded by the 1880 census?", "type": "number" },		"1890": {			"label": "1890 Census result (population)", "description": "How many people were recorded by the 1890 census?", "type": "number" },		"1900": {			"label": "1900 Census result (population)", "description": "How many people were recorded by the 1900 census?", "type": "number" },		"1910": {			"label": "1910 Census result (population)", "description": "How many people were recorded by the 1910 census?", "type": "number" },		"1920": {			"label": "1920 Census result (population)", "description": "How many people were recorded by the 1920 census?", "type": "number" },		"1930": {			"label": "1930 Census result (population)", "description": "How many people were recorded by the 1930 census?", "type": "number" },		"1940": {			"label": "1940 Census result (population)", "description": "How many people were recorded by the 1940 census?", "type": "number" },		"1950": {			"label": "1950 Census result (population)", "description": "How many people were recorded by the 1950 census?", "type": "number" },		"1960": {			"label": "1960 Census result (population)", "description": "How many people were recorded by the 1960 census?", "type": "number" },		"1970": {			"label": "1970 Census result (population)", "description": "How many people were recorded by the 1970 census?", "type": "number" },		"1980": {			"label": "1980 Census result (population)", "description": "How many people were recorded by the 1980 census?", "type": "number" },		"1990": {			"label": "1990 Census result (population)", "description": "How many people were recorded by the 1990 census?", "type": "number" },		"2000": {			"label": "2000 Census result (population)", "description": "How many people were recorded by the 2000 census?", "type": "number" },		"2010": {			"label": "2010 Census result (population)", "description": "How many people were recorded by the 2010 census?", "type": "number" },		"2020": {			"label": "2020 Census result (population)", "description": "How many people were recorded by the 2020 census?", "type": "number" },		"1790n": { "label": "1790 census citation", "description": "Cite your source for the 1790 Census", "type": "content" },		"1800n": { "label": "1800 Census citation", "description": "Cite your source for the 1800 Census", "type": "content" },		"1810n": { "label": "1810 Census citation", "description": "Cite your source for the 1810 Census", "type": "content" },		"1820n": { "label": "1820 Census citation", "description": "Cite your source for the 1820 Census", "type": "content" },		"align": { "label": "infobox alignment", "description": "sets infobox alignment. right -> float on the right side of the page; default. left -> to float it to the left. center -> center alignment. none -> left alignment, without wrapping text", "example": "right", "type": "string", "suggestedvalues": [ "right", "left", "center", "none" ],			"default": "right", "suggested": true },		"title": { "label": "Title", "description": "Sets a title for the infobox. If unspecified, defaults to 'Historical Population'", "example": "Census data for Alabama", "type": "string", "default": "Historical Population", "suggested": true },		"1830n": { "label": "1830 Census citation", "description": "Cite your source for the 1830 Census", "type": "content" },		"1840n": { "label": "1840 Census citation", "description": "Cite your source for the 1840 Census", "type": "content" },		"1850n": { "label": "1850 Census citation", "description": "Cite your source for the 1850 Census", "type": "content" },		"1860n": { "label": "1860 Census citation", "description": "Cite your source for the 1860 Census", "type": "content" },		"1870n": { "label": "1870 Census citation", "description": "Cite your source for the 1870 Census", "type": "content" },		"1880n": { "label": "1880 Census citation", "description": "Cite your source for the 1880 Census", "type": "content" },		"1890n": { "label": "1890 Census citation", "description": "Cite your source for the 1890 Census", "type": "content" },		"1900n": { "label": "1900 Census citation", "description": "Cite your source for the 1900 Census", "type": "content" },		"1910n": { "label": "1910 Census citation", "description": "Cite your source for the 1910 Census", "type": "content" },		"1920n": { "label": "1920 Census citation", "description": "Cite your source for the 1920 Census", "type": "content" },		"1930n": { "label": "1930 Census citation", "description": "Cite your source for the 1930 Census", "type": "content" },		"1940n": { "label": "1940 Census citation", "description": "Cite your source for the 1940 Census", "type": "content" },		"1950n": { "label": "1950 Census citation", "description": "Cite your source for the 1950 Census", "type": "content" },		"1960n": { "label": "1960 Census citation", "description": "Cite your source for the 1960 Census", "type": "content" },		"1970n": { "label": "1970 Census citation", "description": "Cite your source for the 1970 Census", "type": "content" },		"1980n": { "label": "1980 Census citation", "description": "Cite your source for the 1980 Census", "type": "content" },		"1990n": { "label": "1990 Census citation", "description": "Cite your source for the 1990 Census", "type": "content" },		"2000n": { "label": "2000 Census citation", "description": "Cite your source for the 2000 Census", "type": "content" },		"2010n": { "label": "2010 Census citation", "description": "Cite your source for the 2010 Census", "type": "content" },		"2020n": { "label": "2020 Census citation", "description": "Cite your source for the 2020 Census", "type": "content" },		"estimate": { "label": "Estimated population (number of people) for a year which didn't have a census. Generally used for 'estimated current population'.", "description": "MUST BE USED WITH estyear (year of population estimate) AND estref (estimated population reference) VALUES!. Generally used for 'estimated current population'.", "example": "241,000", "type": "number" },		"estyear": { "label": "Year of population estimate", "description": "The year which the specified 'estimated population' is an estimate for. (If you have an estimate for the 2022 population, enter '2022').", "example": "2022", "type": "number" },		"estref": { "label": "Population estimate citation", "description": "Enter the citation for the population estimate (if population estimate has been specified)", "type": "content" },		"footnote": { "label": "Footnote", "description": "Can be used to add a footnote to this infobox. Use cases include adding a citation to a single consolidated reference for the census data in the entire infobox, along the lines of 'sources 1910-2022[REF GOES HERE]'", "type": "content", "suggested": true },		"align-fn": { "label": "alignment of footnote", "type": "string", "suggestedvalues": [ "left", "right", "center" ],			"default": "center", "description": "Can be used to set the alignment of the footnote. left -> left-aligned. right -> right-aligned. center -> content centered (default)." }	},	"format": "block", "description": "This template is used as an information box on pages, showing each census year with a population, and a percent gain/loss comparison. Also includes functionality for a custom title/footer for the infobox, easy-to-insert citations for each census year, and population estimates for a single non-census year (with an easy-to-insert citation thing for this as well).", "paramOrder": [ "title", "align", "footnote", "align-fn", "1790",		"1790n", "1800",		"1800n", "1810",		"1810n", "1820",		"1820n", "1830",		"1830n", "1840",		"1840n", "1850",		"1850n", "1860",		"1860n", "1870",		"1870n", "1880",		"1880n", "1890",		"1890n", "1900",		"1900n", "1910",		"1910n", "1920",		"1920n", "1930",		"1930n", "1940",		"1940n", "1950",		"1950n", "1960",		"1960n", "1970",		"1970n", "1980",		"1980n", "1990",		"1990n", "2000",		"2000n", "2010",		"2010n", "2020",		"2020n", "estyear", "estimate", "estref" ] }