Difference between revisions of "Template:Demography/testcases"
Jump to navigation
Jump to search
imported>Mr. Stradivarius (create) |
imported>Mr. Stradivarius (more tests) |
||
| Line 71: | Line 71: | ||
{{demography/sandbox|1800=500|1810=550|caption=Custom caption}} | {{demography/sandbox|1800=500|1810=550|caption=Custom caption}} | ||
| + | |||
| + | == Blank caption == | ||
| + | |||
| + | * <code><nowiki>{{demography|1800=500|1810=550|caption=}}</nowiki></code> | ||
| + | |||
| + | ; Main | ||
| + | |||
| + | {{demography|1800=500|1810=550|caption=}} | ||
| + | |||
| + | ; Sandbox | ||
| + | |||
| + | {{demography/sandbox|1800=500|1810=550|caption=}} | ||
== Source == | == Source == | ||
| Line 83: | Line 95: | ||
{{demography/sandbox|1800=500|1810=550|source=A source}} | {{demography/sandbox|1800=500|1810=550|source=A source}} | ||
| + | |||
| + | == sansdoublescomptes == | ||
| + | |||
| + | * <code><nowiki>{{demography|1800=500|1810=550|sansdoublescomptes=1810}}</nowiki></code> | ||
| + | |||
| + | ; Main | ||
| + | |||
| + | {{demography|1800=500|1810=550|sansdoublescomptes=1810}} | ||
| + | |||
| + | ; Sandbox | ||
| + | |||
| + | {{demography/sandbox|1800=500|1810=550|sansdoublescomptes=1810}} | ||
| + | |||
| + | == withoutdoublecount == | ||
| + | |||
| + | * <code><nowiki>{{demography|1800=500|1810=550|withoutdoublecount=1810}}</nowiki></code> | ||
| + | |||
| + | ; Main | ||
| + | |||
| + | {{demography|1800=500|1810=550|withoutdoublecount=1810}} | ||
| + | |||
| + | ; Sandbox | ||
| + | |||
| + | {{demography/sandbox|1800=500|1810=550|withoutdoublecount=1810}} | ||
| + | |||
| + | == sansdoublescomptes blank == | ||
| + | |||
| + | * <code><nowiki>{{demography|1800=500|1810=550|sansdoublescomptes=|withoutdoublecount=1810}}</nowiki></code> | ||
| + | |||
| + | ; Main | ||
| + | |||
| + | {{demography|1800=500|1810=550|sansdoublescomptes=|withoutdoublecount=1810}} | ||
| + | |||
| + | ; Sandbox | ||
| + | |||
| + | {{demography/sandbox|1800=500|1810=550|sansdoublescomptes=|withoutdoublecount=1810}} | ||
| + | |||
| + | == enquêteannuelle == | ||
| + | |||
| + | * <code><nowiki>{{demography|1800=500|1810=550|withoutdoublecount=1810|enquêteannuelle=Enquête annuelle}}</nowiki></code> | ||
| + | |||
| + | ; Main | ||
| + | |||
| + | {{demography|1800=500|1810=550|withoutdoublecount=1810|enquêteannuelle=Enquête annuelle}} | ||
| + | |||
| + | ; Sandbox | ||
| + | |||
| + | {{demography/sandbox|1800=500|1810=550|withoutdoublecount=1810|enquêteannuelle=Enquête annuelle}} | ||
| + | |||
| + | == annualsurvey == | ||
| + | |||
| + | * <code><nowiki>{{demography|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey}}</nowiki></code> | ||
| + | |||
| + | ; Main | ||
| + | |||
| + | {{demography|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey}} | ||
| + | |||
| + | ; Sandbox | ||
| + | |||
| + | {{demography/sandbox|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey}} | ||
| + | |||
| + | == annualsurvey order == | ||
| + | |||
| + | * <code><nowiki>{{demography|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey|enquêteannuelle=Enquête annuelle}}</nowiki></code> | ||
| + | |||
| + | ; Main | ||
| + | |||
| + | {{demography|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey|enquêteannuelle=Enquête annuelle}} | ||
| + | |||
| + | ; Sandbox | ||
| + | |||
| + | {{demography/sandbox|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey|enquêteannuelle=Enquête annuelle}} | ||
| + | |||
| + | == enquêteannuelle blank == | ||
| + | |||
| + | * <code><nowiki>{{demography|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey|enquêteannuelle=}}</nowiki></code> | ||
| + | |||
| + | ; Main | ||
| + | |||
| + | {{demography|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey|enquêteannuelle=}} | ||
| + | |||
| + | ; Sandbox | ||
| + | |||
| + | {{demography/sandbox|1800=500|1810=550|withoutdoublecount=1810|annualsurvey=Annual survey|enquêteannuelle=}} | ||
Latest revision as of 02:38, 20 January 2014
| 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: |
Contents
No arguments
{{demography}}
- Main
| Year |
|---|
| Population |
- Sandbox
| Year |
|---|
| Population |
Five year arguments
{{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
<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
{{demography|1800=500|1810=550|noheader=yes}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
Custom header
{{demography|1800=500|1810=550|caption=Custom caption}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
Blank caption
{{demography|1800=500|1810=550|caption=}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
Source
{{demography|1800=500|1810=550|source=A source}}
- Main
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
- Sandbox
| Year | 1800 | 1810 |
|---|---|---|
| Population | 500 | 550 |
sansdoublescomptes
{{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
{{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
{{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
{{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
{{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
{{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
{{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). | ||