Difference between revisions of "Template:Demography/testcases"

From blackwiki
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

No arguments

  • {{demography}}
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
Year18001810182018301840
Population500550600650700
Sandbox
Historical population of Template:Demography/testcases
Year18001810182018301840
Population500550600650700

Embedded

<table>
{{demography1800=500|1810=550|embed=yes}}
{{demography|1820=600|1830=650|embed=yes}}
</table>
Main
Year18001810
Population500550
Year18201830
Population600650
Sandbox
Year18001810
Population500550
Year18201830
Population600650

No header

  • {{demography|1800=500|1810=550|noheader=yes}}
Main
Year18001810
Population500550
Sandbox
Year18001810
Population500550

Custom header

  • {{demography|1800=500|1810=550|caption=Custom caption}}
Main
Custom caption
Year18001810
Population500550
Sandbox
Custom caption
Year18001810
Population500550

Blank caption

  • {{demography|1800=500|1810=550|caption=}}
Main
Historical population of Template:Demography/testcases
Year18001810
Population500550
Sandbox
Historical population of Template:Demography/testcases
Year18001810
Population500550

Source

  • {{demography|1800=500|1810=550|source=A source}}
Main
Historical population of Template:Demography/testcases
(Source: A source)
Year18001810
Population500550
Sandbox
Historical population of Template:Demography/testcases
(Source: A source)
Year18001810
Population500550

sansdoublescomptes

  • {{demography|1800=500|1810=550|sansdoublescomptes=1810}}
Main
Historical population of Template:Demography/testcases
Year18001810
Population500550
From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once.
Sandbox
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once.
Sandbox
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
From the year 1810 on: No double counting—residents of multiple communes (e.g. students and military personnel) are counted only once.
Sandbox
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
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
Historical population of Template:Demography/testcases
Year18001810
Population500550
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).