< Template:DemographyRevision as of 02:16, 20 January 2014 by imported>Mr. Stradivarius
| 42px | This is the template test cases page for the sandbox of Template:Demography. Script error: No such module "Purge". 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 with these links:
|
No arguments
- Main
Historical population of Template:Demography/testcases| Year |
|---|
| Population |
|---|
- Sandbox
Historical population of Template:Demography/testcases| Year |
|---|
| Population |
|---|
Five year arguments
{{demography|1800=500|1810=550|1820=600|1830=650|1840=700}}
- Main
Historical population of Template:Demography/testcases| Year | 1800 | 1810 | 1820 | 1830 | 1840 |
|---|
| Population | 500 | 550 | 600 | 650 | 700 |
|---|
- Sandbox
Historical population of Template:Demography/testcases| Year | 1800 | 1810 | 1820 | 1830 | 1840 |
|---|
| Population | 500 | 550 | 600 | 650 | 700 |
|---|
Embedded
<table>
{{demography1800=500|1810=550|embed=yes}}
{{demography|1820=600|1830=650|embed=yes}}
</table>
- Main
| Year | 1800 | 1810 |
|---|
| Population | 500 | 550 |
| Year | 1820 | 1830 |
|---|
| Population | 600 | 650 |
- Sandbox
| Year | 1800 | 1810 |
|---|
| Population | 500 | 550 |
| Year | 1820 | 1830 |
|---|
| Population | 600 | 650 |
{{demography|1800=500|1810=550|noheader=yes}}
- Main
| Year | 1800 | 1810 |
|---|
| Population | 500 | 550 |
|---|
- Sandbox
| Year | 1800 | 1810 |
|---|
| Population | 500 | 550 |
|---|
{{demography|1800=500|1810=550|caption=Custom caption}}
- Main
Custom caption| Year | 1800 | 1810 |
|---|
| Population | 500 | 550 |
|---|
- Sandbox
Custom caption| Year | 1800 | 1810 |
|---|
| Population | 500 | 550 |
|---|
Source
{{demography|1800=500|1810=550|source=A source}}
- Main
Historical population of Template:Demography/testcases
(Source: A source)| Year | 1800 | 1810 |
|---|
| Population | 500 | 550 |
|---|
- Sandbox
Historical population of Template:Demography/testcases
(Source: A source)| Year | 1800 | 1810 |
|---|
| Population | 500 | 550 |
|---|