Difference between revisions of "Template:Infobox census/doc"
imported>ItsPugle (Adding) |
imported>ItsPugle (Adding new param; general ce of templatedata) |
||
| Line 110: | Line 110: | ||
"description": "Data of a trial census, if run.", | "description": "Data of a trial census, if run.", | ||
"type": "date" | "type": "date" | ||
| + | }, | ||
| + | "participation": { | ||
| + | "label": "Census participation", | ||
| + | "type": "string" | ||
} | } | ||
}, | }, | ||
"paramOrder": [ | "paramOrder": [ | ||
"name", | "name", | ||
| + | "previous_year", | ||
| + | "previous_census", | ||
| + | "date", | ||
| + | "next_year", | ||
| + | "next_census", | ||
"logo", | "logo", | ||
"logo_size", | "logo_size", | ||
| − | |||
"image", | "image", | ||
"image_size", | "image_size", | ||
| + | "logo_caption", | ||
"image_caption", | "image_caption", | ||
| − | |||
| − | |||
| − | |||
| − | |||
"country", | "country", | ||
| − | " | + | "trial_census", |
| + | "authority", | ||
| + | "website", | ||
| + | "participation", | ||
"population", | "population", | ||
"percent_change", | "percent_change", | ||
| − | |||
"region_type", | "region_type", | ||
"most_populous", | "most_populous", | ||
"least_populous", | "least_populous", | ||
| − | " | + | "annual_percent_change" |
| − | |||
| − | |||
], | ], | ||
"format": "block" | "format": "block" | ||
Revision as of 04:36, 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 |
| 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 |
| Country | country | no description | String | suggested |
| 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 |