Difference between revisions of "Template:Demography/doc"
Jump to navigation
Jump to search
imported>DocWatson42 m (Updated a spaced em dash.) |
imported>Vanisaac m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
||
| Line 44: | Line 44: | ||
* [[Template:Historical populations]]—for vertical tables | * [[Template:Historical populations]]—for vertical tables | ||
| − | <includeonly> | + | <includeonly>{{Sandbox other|| |
| − | {{ | + | |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | <!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> | ||
[[Category:Demography templates| ]] | [[Category:Demography templates| ]] | ||
Latest revision as of 23:15, 24 April 2020
| This is a documentation subpage for Template:Demography. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
This template can be used to create a table illustrating the population over a set of years.
Usage
Specify the population, by year, for any year between 1500 and 2100.
1500 =Population in 15001501 =Population in 1501- ...
2099 =Population in 20992100 =Population in 2100caption =Caption, default is "Historical population of {{PAGENAME}}noheader ="yes" if no header is desiredsource =Source for population datawithoutdoublecount =Starting year for no double countingannualsurvey =Starting year for provision population (annual survey)
Example
| Year | 1500 | 1600 | 1700 | 1800 | 1900 | 1950 |
|---|---|---|---|---|---|---|
| Population | 10 | 20 | 40 | 70 | 200 | 500 |
{{Demography
| 1500 = 10
| 1600 = 20
| 1700 = 40
| 1800 = 70
| 1900 = 200
| 1950 = 500
| source = Wikipedia census
}}
See also
- Template:Historical populations—for vertical tables