Template:Historical populations/testcases
This is the template test cases page for the sandbox of Template:Historical populations. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Test 1[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 2: align = left[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 3a: align = none[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 3b: align = center[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 4: different pop name and year name[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 5a: cols=2[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 5b: percol=7[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 6: Annual growth percentages[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 7: Annual growth percentages[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 8: Shading off[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 9: Percentages off, width = 10em[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 10: Negative pagr[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 11: width=auto[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 12: width=auto, cols=2[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Test 13: direction = horizontal[edit]
Historical population | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Year | 1890 | 1900 | 1910 | 1920 | 1930 | 1940 | 1950 | 1960 | 1970 | 1980 | 1990 | 2000 | 2006 (Est.) |
Pop. | 1,046,964 | 1,293,697 | 1,549,008 | 1,823,779 | 1,950,961 | 1,931,334 | 2,071,605 | 2,002,512 | 1,948,609 | 1,688,210 | 1,585,577 | 1,517,550 | 1,448,394 |
±% | — | +23.6% | +19.7% | +17.7% | +7.0% | −1.0% | +7.3% | −3.3% | −2.7% | −13.4% | −6.1% | −4.3% | −4.6% |
Source: Census data |
Test 14a: direction = horizontal, perrow = 7[edit]
Historical population | |||||||
---|---|---|---|---|---|---|---|
Year | 1890 | 1900 | 1910 | 1920 | 1930 | 1940 | 1950 |
Pop. | 1,046,964 | 1,293,697 | 1,549,008 | 1,823,779 | 1,950,961 | 1,931,334 | 2,071,605 |
±% | — | +23.6% | +19.7% | +17.7% | +7.0% | −1.0% | +7.3% |
Year | 1960 | 1970 | 1980 | 1990 | 2000 | 2006 (Est.) | |
Pop. | 2,002,512 | 1,948,609 | 1,688,210 | 1,585,577 | 1,517,550 | 1,448,394 | |
±% | −3.3% | −2.7% | −13.4% | −6.1% | −4.3% | −4.6% | |
Source: Census data |
Test 14b: direction = horizontal, rows = 2[edit]
Historical population | |||||||
---|---|---|---|---|---|---|---|
Year | 1890 | 1900 | 1910 | 1920 | 1930 | 1940 | 1950 |
Pop. | 1,046,964 | 1,293,697 | 1,549,008 | 1,823,779 | 1,950,961 | 1,931,334 | 2,071,605 |
±% | — | +23.6% | +19.7% | +17.7% | +7.0% | −1.0% | +7.3% |
Year | 1960 | 1970 | 1980 | 1990 | 2000 | 2006 (Est.) | |
Pop. | 2,002,512 | 1,948,609 | 1,688,210 | 1,585,577 | 1,517,550 | 1,448,394 | |
±% | −3.3% | −2.7% | −13.4% | −6.1% | −4.3% | −4.6% | |
Source: Census data |
Bad input[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Missing data[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Linked years[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Formatted input[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Fractional years[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Census links with non-census years[edit]
Year | Pop. | ±% |
---|---|---|
1780 | 10,101 | — |
1790 | 101,010 | +900.0% |
1890 | 1,046,964 | +936.5% |
1900 | 1,293,697 | +23.6% |
1910 | 1,549,008 | +19.7% |
1920 | 1,823,779 | +17.7% |
1930 | 1,950,961 | +7.0% |
1940 | 1,931,334 | −1.0% |
1950 | 2,071,605 | +7.3% |
1960 | 2,002,512 | −3.3% |
1970 | 1,948,609 | −2.7% |
1980 | 1,688,210 | −13.4% |
1990 | 1,585,577 | −6.1% |
2000 | 1,517,550 | −4.3% |
2006 (Est.) | 1,448,394 | −4.6% |
3000 | 9,999,999 | +590.4% |
Today | 9,999,999 | +0.0% |
Source: Foo |
- Check Special:WhatLinksHere/1780 United States Census (should not link here)
- Check Special:WhatLinksHere/3000 United States Census (should not link here)
Graph bottom with 1 column[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Graph bottom with 2 columns[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Graph bottom with 3 columns[edit]
{{Historical populations}} | {{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Graph right with 2 horizontal rows[edit]
{{Historical populations}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{{Historical populations/sandbox}} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|