Template:Infobox census: Difference between revisions
From MicrasWiki
Jump to navigationJump to search
(Created page with "<includeonly> {{Infobox | above = {{{name|{{PAGENAME}}}}} | image = {{{image|}}} | caption = {{{caption|}}} | label1 = Official Name | data1 = {{{official_name|}}} | label2 = Country | data2 = {{{country|}}} | label3 = Census Date | data3 = {{{date|}}} | label4 = Total Population | data4 = {{{population|}}} | label5 = Previous Census Population | data5 = {{{previ...") |
No edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | |||
<includeonly> | <includeonly> | ||
{{Infobox | {{Infobox | ||
Line 17: | Line 18: | ||
| data6 = {{{next_census|N/A}}} | | data6 = {{{next_census|N/A}}} | ||
| label7 = Population Change (%) | | label7 = Population Change (%) | ||
| data7 = {{#expr: ({{{population|0}}} - {{{previous_census|0}}}) / {{{previous_census|1}}} * 100 round 2}}% | | data7 = {{#expr: ({{#replace:{{{population|0}}}|,|}} - {{#replace:{{{previous_census|0}}}|,|}}) / {{#replace:{{{previous_census|1}}}|,|}} * 100 round 2}}% | ||
| label8 = Region Covered | | label8 = Region Covered | ||
| data8 = {{{region_covered|}}} | | data8 = {{{region_covered|}}} | ||
Line 31: | Line 32: | ||
== Documentation == | == Documentation == | ||
{{Documentation}} | {{Documentation}} | ||
[[Category:Infobox templates]] | |||
[[Category:Censuses]] | |||
</noinclude> | </noinclude> |
Revision as of 20:29, 5 February 2024
Documentation
[edit] [ ] Template documentation
2024 National Census | |
ExampleCensusImage.jpg Population distribution map from the 2024 Census | |
Official Name | The 2024 Census of Population and Housing |
---|---|
Country | Imaginaria |
Census Date | April 1, 2024 |
Total Population | 12000000 |
Previous Census Population | 11000000 |
Next Census Population | (Pending) |
Population Change (%) | 9.09% |
Region Covered | Nationwide |
Conducting Authority | Imaginaria National Statistics Office |
Official Website | [1] |
This template is used to create an infobox for a specific census.
Parameters
- name - Name of the Census. If not specified, the page name will be used.
- image - Image related to the Census (optional).
- caption - Caption for the image (optional).
- official_name - Official name of the Census.
- country - Country in which the census was conducted.
- date - Date when the census was conducted.
- population - Total population count from this census, raw number figure with no commas or separators.
- previous_census - Population count from the previous census, raw number figure with no commas or separators.
- next_census - Population count from the next census, if available (optional).
- population_change - Calculated population change percentage. This field is automatically calculated.
- region_covered - The region covered by the census.
- authority - The authority responsible for conducting the census.
- website - Official website for the census (optional).
Example
{{Infobox census | name = 2024 National Census | image = ExampleCensusImage.jpg | caption = Population distribution map from the 2024 Census | official_name = The 2024 Census of Population and Housing | country = Imaginaria | date = April 1, 2024 | population = 12,000,000 | previous_census = 11,000,000 | next_census = (Pending) | region_covered = Nationwide | authority = Imaginaria National Statistics Office | website = [http://www.imaginariacensus2024.gov] }}
The above documentation is transcluded from Template:Infobox census/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |