Template:Canada census/doc

This template is used to provide a summary of selected census figures released by Statistics Canada for the 2021, 2016, and optionally 2011 census years. Because the tables got too wide, this template is no longer designed to allow for future census years to be added without the need for changing existing template usages. The template maintains the table for the last three years. Older named references for the years back to 2001 (currently 2006 and 2001) must be maintained since these references are also used in the table text as well as the template. As years are removed, add the references to the "earlier" list at the bottom of the table. Add the reference for the new census and the access date to Canada census/reference.

Usage
All parameters are optional. If the 2011_population is not set or is empty, the 2011 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:
 * 2021 Census Profile - Statistics Canada
 * 2016 Census Profile - Statistics Canada
 * 2011 Census Profile - Statistics Canada