Template:Canada census
|
This template is used to provide a summary of selected census figures released by Statistics Canada for the 2011, 2006, and optionally 2001 census years. This template has been designed to allow for future census years to be added without the need for changing existing template usages (except to add the new census data of course).
Usage
{{Canada census |location= |2011_population= |2011_pop_delta= |2011_land_area= |2011_pop_density= |2011_median_age= |2011_median_age_m= |2011_median_age_f= |2011_total_pvt_dwell= |2011_mean_hh_income= |2011_access_date= |2006_population= | 2006_pop_delta= | 2006_land_area= | 2006_pop_density= |2006_median_age= | 2006_median_age_m= | 2006_median_age_f= |2006_total_pvt_dwell= | 2006_mean_hh_income= | 2006_access_date= |2001_population= | 2001_pop_delta= | 2001_land_area= | 2001_pop_density= |2001_median_age= | 2001_median_age_m= | 2001_median_age_f= |2001_total_pvt_dwell= |2001_mean_hh_income= | 2001_access_date= |notes= }} <!-- This template creates named references cp2011, cp2006, and optionally cp2001 for use in articles. Each is areference to the Statistics Canada Community Profile search page for the corresponding census year. -->
Field | Description |
---|---|
location | Optional field to specify location or census area. If left blank, the page name appears here. |
notes | Optional notes for census info, such as corrections and updates. Avoid excessive long notes, because demographic explanations or further info should be added in paragraph format to the actual article. |
2011 | |
2011_population | Population in 2011 |
2011_pop_delta | Population delta percentage from 2006. Use +/- signs. |
2011_land_area | 2011 land area in square kilometres. Will be automatically converted to also show square miles. |
2011_pop_density | Population density for 2011. Will be automatically converted to also show square miles. |
2011_median_age | Median age in 2011. |
2011_median_age_m | Median age of males in 2011. |
2011_median_age_f | Median age in females in 2011. |
2011_total_pvt_dwell | Total private dwellings in 2011. |
2011_mean_hh_income | Median household income in 2010 as included in the 2011 census figures (though mean, aka average, and median are both available from the 2011 National Household Survey, only median is available for 2006 and 2001 census for comparison purposes [parameter should be renamed accordingly]). |
2011_access_date= | Date when 2011 census data was first accessed for use in this template. Use the MDY format. If not specified, no access date will be displayed. |
2006 | |
2006_population | Population in 2006 |
2006_pop_delta | Population delta percentage from 2001. Use +/- signs. |
2006_land_area | 2006 land area in square kilometres. Will be automatically converted to also show square miles. |
2006_pop_density | Population density for 2006. Will be automatically converted to also show square miles. |
2006_median_age | Median age in 2006. |
2006_median_age_m | Median age of males in 2006. |
2006_median_age_f | Median age in females in 2006. |
2006_total_pvt_dwell | Total private dwellings in 2006. |
2006_mean_hh_income | Median household income in 2005 as included in the 2006 census figures (only median is available in the 2006 census [parameter should be renamed accordingly]). |
2006_access_date= | Date when 2006 census data was first accessed for use in this template. Use the MDY format. If not specified, no access date will be displayed. |
2001 | |
2001_population | Population in 2001 |
2001_pop_delta | Population delta percentage from 1996. Use +/- signs. |
2001_land_area | 2001 land area in square kilometres. Will be automatically converted to also show square miles. |
2001_pop_density | Population density for 2001. Will be automatically converted to also show square miles. |
2001_median_age | Median age in 2001. |
2001_median_age_m | Median age of males in 2001. |
2001_median_age_f | Median age in females in 2001. |
2001_total_pvt_dwell | Total private dwellings in 2001. |
2001_mean_hh_income | Median household income in 2000 as included in the 2001 census figures (only median is available in the 2001 census [parameter should be renamed accordingly]). |
2001_access_date= | Date when 2001 census data was first accessed for use in this template. Use the MDY format. If not specified, no access date will be displayed. |
All parameters are optional but the template will always display small 2011 and 2006 columns. If the 2001_population is not set or is empty, the 2001 column will not appear.
By default, the box will be located at the left margin of the article. The location can be overridden by specifying the margin parameter which overrides the CSS margin property.
Census data
Census data for populating the template can be found at the following links:
The above documentation is transcluded from Template:Canada census/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |