Template:Infobox census

{{Infobox

| autoheaders = yes

| above = {{{name|}}}

| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|}}} |size={{{logo_size|}}} }}

| caption = {{{logo_caption|}}}

| image2 = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} }}

| caption2 = {{{image_caption|}}}

| subheaderstyle = line-height:130%;

| subheader = {{#if:{{{previous_census|}}}{{{previous_year|}}}{{{date|}}}{{{next_census|}}}{{{next_year|}}}|


{{succession links

| left = {{#if:{{{previous_year|}}}|{{#ifexist:{{{previous_census|}}}|{{{previous_year}}}|{{{previous_year}}}}}|{{{previous_census|}}} }}

| center = {{#if:{{{date| }}}|{{{date| }}}}}

| right = {{#if:{{{next_year|}}}|{{#ifexist:{{{next_census|}}}|{{{next_year}}} |{{{next_year}}} }}|{{{next_census|}}} }}

}}


}}

| headerstyle = text-align: center; background-color: #efefef; margin: 0.1em; padding: 0.05em 0;

| header1 = General information

| label2 = {{#if:{{{region|}}} | Region | {{#if:{{{country|}}} | Country |}}}}

| data2 = {{#if:{{{region|}}} | {{{region|}}} | {{#if:{{{country|}}} | {{{country|}}} |}}}}

| label3 = Topics

| data3 = {{#if:{{{topic1|}}} | {{Collapsible list

| title = Census topics

| bullets = yes

| {{{topic1|}}}

|{{#if:{{{topic2|}}} | {{{topic2|}}} |}}

|{{#if:{{{topic3|}}} | {{{topic3|}}} |}}

|{{#if:{{{topic4|}}} | {{{topic4|}}} |}}

|{{#if:{{{topic5|}}} | {{{topic5|}}} |}}

|{{#if:{{{topic6|}}} | {{{topic6|}}} |}}

|{{#if:{{{topic7|}}} | {{{topic7|}}} |}}

|{{#if:{{{topic8|}}} | {{{topic8|}}} |}}

|{{#if:{{{topic9|}}} | {{{topic9|}}} |}}

|{{#if:{{{topic10|}}} | {{{topic10|}}} |}}

}} |}}

| label4 = Trial census

| data4 = {{{trial_census|}}}

| label5 = Authority

| data5 = {{{authority|}}}

| label6 = Website

| data6 = {{{website|}}}

| header7 = Results

| label8 = Participation

| data8 = {{{participation|}}}

| label9 = Total population

| data9 = {{{population|}}} {{#if: {{{percent_change|}}} | ({{{percent_change|}}}) | {{#if: {{{annual_percent_change|}}} | ({{{annual_percent_change|}}}) |}}}}

| label10 = Most{{Nbsp}}populous{{Nbsp}}{{Wbr}}{{#switch:{{{country|}}}

| Bolivia = department

| Mexico = state

| Peru = region

| Soviet Union = republic

| #default = {{if empty|{{{region_type|}}}|region}}

}}

| data10 = {{{most_populous|}}}

| label11 = Least{{Nbsp}}populous{{Nbsp}}{{Wbr}}{{#switch:{{{country|}}}

| Bolivia = department

| Mexico = state

| Peru = region

| Soviet Union = republic

| #default = {{if empty|{{{region_type|}}}|region}}

}}

| data11 = {{{least_populous|}}}

| label12 = {{{additional_label1|}}}

| data12 = {{{additional_data1|}}}

| label13 = {{{additional_label2|}}}

| data13 = {{{additional_data2|}}}

| label14 = {{{additional_label3|}}}

| data14 = {{{additional_data3|}}}

| label15 = {{{additional_label4|}}}

| data15 = {{{additional_data4|}}}

| label16 = {{{additional_label5|}}}

| data16 = {{{additional_data5|}}}

}}

{{Documentation}}