Template:Demography/testcases
Jump to navigation
Jump to search
| icon | This is the template test cases page for the sandbox of Template:Demography. 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: |
No arguments
[edit source]{{demography}}
- Main
| Year |
|---|
| Population |
- Sandbox
| Year |
|---|
| Population |
Five year arguments
[edit source]{{demography|1800=500|1810=550|1820=600|1830=650|1840=700}}
- Main
| Year | 1800 | 1810 | 1820 | 1830 | 1840 |
|---|---|---|---|---|---|
| Population | 500 | 550 | 600 | 650 | 700 |
- Sandbox
| Year | 1800 | 1810 | 1820 | 1830 | 1840 |
|---|---|---|---|---|---|
| Population | 500 | 550 | 600 | 650 | 700 |
Embedded
[edit source]<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 |
No header
[edit source]{{demography|1800=500|1810=550|noheader=yes}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
Custom header
[edit source]{{demography|1800=500|1810=550|caption=Custom caption}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
Blank caption
[edit source]{{demography|1800=500|1810=550|caption=}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
Source
[edit source]{{demography|1800=500|1810=550|source=A source}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
sansdoublescomptes
[edit source]{{demography|1800=500|1810=550|sansdoublescomptes=1810}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. | ||
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. | ||
withoutdoublecount
[edit source]{{demography|1800=500|1810=550|withoutdoublecount=1810}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. | ||
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. | ||
sansdoublescomptes blank
[edit source]{{demography|1800=500|1810=550|sansdoublescomptes=|withoutdoublecount=1810}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. | ||
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. | ||
enquêteannuelle
[edit source]{{demography|1800=500|1810=550|withoutdoublecount=1810|enquêteannuelle=Enquête annuelle}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. Enquête annuelle: Provisional population (annual survey). | ||
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. Enquête annuelle: Provisional population (annual survey). | ||
annualsurvey
[edit source]{{demography|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. Annual survey: Provisional population (annual survey). | ||
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. Annual survey: Provisional population (annual survey). | ||
annualsurvey order
[edit source]{{demography|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey|enquêteannuelle=Enquête annuelle}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. Enquête annuelle: Provisional population (annual survey). | ||
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. Enquête annuelle: Provisional population (annual survey). | ||
enquêteannuelle blank
[edit source]{{demography|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey|enquêteannuelle=}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. Annual survey: Provisional population (annual survey). | ||
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
| From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once. Annual survey: Provisional population (annual survey). | ||