Difference between revisions of "Template:Infobox census/doc"
Jump to navigation
Jump to search
imported>ItsPugle (Updating) |
imported>ItsPugle (Adding) |
||
| Line 5: | Line 5: | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| − | "description": "Infobox for censuses", | + | "description": "Infobox to be used for pages for censuses.", |
"params": { | "params": { | ||
"name": { | "name": { | ||
| Line 135: | Line 135: | ||
"authority", | "authority", | ||
"website" | "website" | ||
| − | ] | + | ], |
| + | "format": "block" | ||
} | } | ||
</templatedata> | </templatedata> | ||
Revision as of 04:27, 7 November 2020
| 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 |
| Logo | logo | no description | File | suggested |
| Logo size | logo_size | Please use either "em" or "rem". | String | optional |
| Logo caption | logo_caption | no description | String | optional |
| Image | image | no description | File | optional |
| Image size | image_size | Please use either "em" or "rem". | String | optional |
| Image caption | image_caption | no description | String | optional |
| Previous census page | previous_census | Page name for the previous census. | Page | optional |
| Previous census year | previous_year | Year of the previous census. | Number | optional |
| Next census page | next_census | Page name for the next census. | Page | optional |
| Next census year | next_year | Year of the next census. | Number | optional |
| Country | country | no description | String | suggested |
| Census date | date | no description | Date | suggested |
| 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 |
| Annual_percent_change | annual_percent_change | no description | Unknown | deprecated |
| 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 |
| 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 |