Template:Infobox census/doc
| This is a documentation subpage for Template:Infobox census. It contains usage information, categories and other content that is not part of the original template page. |
- redirect Template:Parameter names example
Usage
Infobox to be used for pages for censuses.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name of the census | name | The name of the census, although not necessarily the page name. For example, the 2021 United Kingdom census is called "Census 2021"
| String | required |
| Previous census year | previous_year | Year of the previous census. | Number | optional |
| Previous census page | previous_census | Page name for the previous census. | Page | optional |
| Census date | date | no description | Date | suggested |
| Next census year | next_year | Year of the next census. | Number | optional |
| Next census page | next_census | Page name for the next census. | Page | optional |
| Logo | logo | no description | File | suggested |
| Logo size | logo_size | Please use either "em" or "rem". | String | optional |
| Image | image | no description | File | optional |
| Image size | image_size | Please use either "em" or "rem". | String | optional |
| Logo caption | logo_caption | no description | String | optional |
| Image caption | image_caption | no description | String | optional |
| Region for the census | region | This parameter is used when the census doesn't span an entire country, for example, only a state or territory. | String | optional |
| Country | country | Please only use this parameter if the census covers an entire country. If not, use region. | String | suggested |
| First topic | topic1 | You can add up to 10 different topics to be investigated in the census, such as "housing", "employment", "education" etc | String | optional |
| Second topic | topic2 | Requires topic1 to not be empty to display. | String | optional |
| Third topic | topic3 | Requires topic1 to not be empty to display. | String | optional |
| Fourth topic | topic4 | Requires topic1 to not be empty to display. | String | optional |
| Fifth topic | topic5 | Requires topic1 to not be empty to display. | String | optional |
| Sixth topic | topic6 | Requires topic1 to not be empty to display. | String | optional |
| Seventh topic | topic7 | Requires topic1 to not be empty to display. | String | optional |
| Eighth topic | topic8 | Requires topic1 to not be empty to display. | String | optional |
| Ninth topic | topic9 | Requires topic1 to not be empty to display. | String | optional |
| Tenth topic | topic10 | Requires topic1 to not be empty to display. | String | optional |
| Trial census date | trial_census | Data of a trial census, if run. | Date | optional |
| Census authority | authority | Operating authority for the census.
| String | optional |
| Census website | website | no description | URL | optional |
| Census participation | participation | no description | String | optional |
| Population recorded | population | Population value recorded in the census. | Number | optional |
| Population percentage point change | percent_change | Change in percentage points versus the last census. | String | optional |
| Region type | region_type | no description | String | optional |
| Most populous region | most_populous | no description | Page | optional |
| Least populous region | least_populous | no description | Page | optional |
| Annual_percent_change | annual_percent_change | no description | Unknown | deprecated |