Difference between revisions of "Template:Demography/doc"

From blackwiki
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||
{{#ifeq:{{SUBPAGENAME}}|sandbox | |
+
 
 
<!-- 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 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 1500
1501 = Population in 1501
...
2099 = Population in 2099
2100 = Population in 2100
caption = Caption, default is "Historical population of {{PAGENAME}}
noheader = "yes" if no header is desired
source = Source for population data
withoutdoublecount = Starting year for no double counting
annualsurvey = Starting year for provision population (annual survey)

Example

Historical population of Template:Demography/doc
(Source: Wikipedia census)
Year150016001700180019001950
Population10204070200500
{{Demography
| 1500 = 10
| 1600 = 20
| 1700 = 40
| 1800 = 70
| 1900 = 200
| 1950 = 500
| source = Wikipedia census
}}

See also