قالب:US Census population/sandbox
Census | Pop. | Note | %± |
---|
![]() | This is the template sandbox page for قالب:US Census population (diff). |
![]() | Uses Lua: |
![]() | هذا القالب يستخدم أنماط القوالب: |
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.
Usage
{{US Census population | align= | 1790= | 1800= | 1810= | 1820= | 1830= | 1840= | 1850= | 1860= | 1870= | 1880= | 1890= | 1900= | 1910= | 1920= | 1930= | 1940= | 1950= | 1960= | 1970= | 1980= | 1990= | 2000= | 2010= | 2020= <!--As of April 2021, the template should be used with either 2020= or estimate=, but not both.--> | estyear= | estimate= | estref= | align-fn= | footnote= }}
مثال
التعداد التاريخي | |||
---|---|---|---|
التعداد | Pop. | %± |
{{US Census population/sandbox}}
Census | Pop. | Note | %± |
---|
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 تصنيف:Pages using US Census population needing update.
Tracking category
- Category:Pages using US Census population with a URL footnote (0)
- Category:Pages using US Census population needing update (11)
- Category:Pages using US Census population with unknown parameters (0)
See also
Template Data for Visual Editor
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).
وسيط | وصف | نوع | حالة | |
---|---|---|---|---|
Title | title | Sets a title for the infobox. If unspecified, defaults to 'Historical Population'
| نص | مقترح |
infobox alignment | align | 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
| نص | مقترح |
Footnote | footnote | 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]' | محتوى | مقترح |
alignment of footnote | align-fn | Can be used to set the alignment of the footnote. left -> left-aligned. right -> right-aligned. center -> content centered (default).
| نص | اختياري |
1790 Census result (population) | 1790 | How many people were recorded by the 1790 census? | رقم | اختياري |
1790 census citation | 1790n | Cite your source for the 1790 Census | محتوى | اختياري |
1800 Census result (population) | 1800 | How many people were recorded by the 1800 census? | رقم | اختياري |
1800 Census citation | 1800n | Cite your source for the 1800 Census | محتوى | اختياري |
1810 Census result (population) | 1810 | How many people were recorded by the 1810 census? | رقم | اختياري |
1810 Census citation | 1810n | Cite your source for the 1810 Census | محتوى | اختياري |
1820 Census result (population) | 1820 | How many people were recorded by the 1820 census? | رقم | اختياري |
1820 Census citation | 1820n | Cite your source for the 1820 Census | محتوى | اختياري |
1830 Census result (population) | 1830 | How many people were recorded by the 1830 census? | رقم | اختياري |
1830 Census citation | 1830n | Cite your source for the 1830 Census | محتوى | اختياري |
1840 Census result (population) | 1840 | How many people were recorded by the 1840 census? | رقم | اختياري |
1840 Census citation | 1840n | Cite your source for the 1840 Census | محتوى | اختياري |
1850 Census result (population) | 1850 | How many people were recorded by the 1850 census? | رقم | اختياري |
1850 Census citation | 1850n | Cite your source for the 1850 Census | محتوى | اختياري |
1860 Census result (population) | 1860 | How many people were recorded by the 1860 census? | رقم | اختياري |
1860 Census citation | 1860n | Cite your source for the 1860 Census | محتوى | اختياري |
1870 Census result (population) | 1870 | How many people were recorded by the 1870 census? | رقم | اختياري |
1870 Census citation | 1870n | Cite your source for the 1870 Census | محتوى | اختياري |
1880 Census result (population) | 1880 | How many people were recorded by the 1880 census? | رقم | اختياري |
1880 Census citation | 1880n | Cite your source for the 1880 Census | محتوى | اختياري |
1890 Census result (population) | 1890 | How many people were recorded by the 1890 census? | رقم | اختياري |
1890 Census citation | 1890n | Cite your source for the 1890 Census | محتوى | اختياري |
1900 Census result (population) | 1900 | How many people were recorded by the 1900 census? | رقم | اختياري |
1900 Census citation | 1900n | Cite your source for the 1900 Census | محتوى | اختياري |
1910 Census result (population) | 1910 | How many people were recorded by the 1910 census? | رقم | اختياري |
1910 Census citation | 1910n | Cite your source for the 1910 Census | محتوى | اختياري |
1920 Census result (population) | 1920 | How many people were recorded by the 1920 census? | رقم | اختياري |
1920 Census citation | 1920n | Cite your source for the 1920 Census | محتوى | اختياري |
1930 Census result (population) | 1930 | How many people were recorded by the 1930 census? | رقم | اختياري |
1930 Census citation | 1930n | Cite your source for the 1930 Census | محتوى | اختياري |
1940 Census result (population) | 1940 | How many people were recorded by the 1940 census? | رقم | اختياري |
1940 Census citation | 1940n | Cite your source for the 1940 Census | محتوى | اختياري |
1950 Census result (population) | 1950 | How many people were recorded by the 1950 census? | رقم | اختياري |
1950 Census citation | 1950n | Cite your source for the 1950 Census | محتوى | اختياري |
1960 Census result (population) | 1960 | How many people were recorded by the 1960 census? | رقم | اختياري |
1960 Census citation | 1960n | Cite your source for the 1960 Census | محتوى | اختياري |
1970 Census result (population) | 1970 | How many people were recorded by the 1970 census? | رقم | اختياري |
1970 Census citation | 1970n | Cite your source for the 1970 Census | محتوى | اختياري |
1980 Census result (population) | 1980 | How many people were recorded by the 1980 census? | رقم | اختياري |
1980 Census citation | 1980n | Cite your source for the 1980 Census | محتوى | اختياري |
1990 Census result (population) | 1990 | How many people were recorded by the 1990 census? | رقم | اختياري |
1990 Census citation | 1990n | Cite your source for the 1990 Census | محتوى | اختياري |
2000 Census result (population) | 2000 | How many people were recorded by the 2000 census? | رقم | اختياري |
2000 Census citation | 2000n | Cite your source for the 2000 Census | محتوى | اختياري |
2010 Census result (population) | 2010 | How many people were recorded by the 2010 census? | رقم | اختياري |
2010 Census citation | 2010n | Cite your source for the 2010 Census | محتوى | اختياري |
2020 Census result (population) | 2020 | How many people were recorded by the 2020 census? | رقم | اختياري |
2020 Census citation | 2020n | Cite your source for the 2020 Census | محتوى | اختياري |
Year of population estimate | estyear | The year which the specified 'estimated population' is an estimate for. (If you have an estimate for the 2022 population, enter '2022').
| رقم | اختياري |
Estimated population (number of people) for a year which didn't have a census. Generally used for 'estimated current population'. | estimate | MUST BE USED WITH estyear (year of population estimate) AND estref (estimated population reference) VALUES!. Generally used for 'estimated current population'.
| رقم | اختياري |
Population estimate citation | estref | Enter the citation for the population estimate (if population estimate has been specified) | محتوى | اختياري |
References and Notes (used in the example)
Notes
References
The above documentation is transcluded from قالب:US Census population/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |