Template:Infobox demography: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="infobox"><tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:Noun project 288.svg|50px|link=]]</th></tr> | <table class="infobox"><tr class="cont"><th colspan="2" style="text-align:center; background: #e8caca;>[[File:Noun project 288.svg|50px|link=]]</th></tr> | ||
<tr><th colspan="2" style="text-align:center; background: #e8caca;">Demographics of {{{name|{{PAGENAME}}}}}</th></tr> | <tr><th colspan="2" style="text-align:center; background: #e8caca;">Demographics of {{{name|{{PAGENAME}}}}}</th></tr><!-- | ||
{{#if:{{{demonym|}}}|<tr><td><b>Demonym</b></td><td>{{{demonym|}}}</td></tr>|}} | -->{{#if:{{{demonym|}}}|<tr><td><b>Demonym</b></td><td>{{{demonym|}}}</td></tr>|}}<!-- | ||
{{#if:{{{official_languages|}}}|<tr {{#if:{{{minority_languages|}}}| class="cont" |}}><td><b>Official languages</b></td><td>{{{official_languages|}}}</td></tr>|}} | -->{{#if:{{{official_languages|}}}|<tr {{#if:{{{minority_languages|}}}| class="cont" |}}><td><b>Official languages</b></td><td>{{{official_languages|}}}</td></tr>|}}<!-- | ||
{{#if:{{{minority_languages|}}}|<tr><td><b>Recognized minority languages</b></td><td>{{{minority_languages|}}}</td></tr>|}} | -->{{#if:{{{minority_languages|}}}|<tr><td><b>Recognized minority languages</b></td><td>{{{minority_languages|}}}</td></tr>|}}<!-- | ||
{{#if:{{{ethnicity_bars|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Ethnicities</b></div></td></tr> | -->{{#if:{{{ethnicity_bars|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Ethnicities</b></div></td></tr> | ||
<tr><td colspan="2"><table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">{{{ethnicity_bars|}}}</table></td></tr>|}} | <tr><td colspan="2"><table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">{{{ethnicity_bars|}}}</table></td></tr>|}}<!-- | ||
{{#if:{{{ethnicity_plain|}}}|<tr><td><b>Ethnicities</b></td><td>{{{ethnicity_plain|}}}</td></tr>|}} | -->{{#if:{{{ethnicity_plain|}}}|<tr><td><b>Ethnicities</b></td><td>{{{ethnicity_plain|}}}</td></tr>|}}<!-- | ||
{{#if:{{{religion_bars|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Religion</b></div></td></tr> | -->{{#if:{{{religion_bars|}}}|<tr class="cont"><td colspan="2"><div style="background: #dddddd; text-align: center; padding: .1em;"><b>Religion</b></div></td></tr> | ||
<tr><td colspan="2"><table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">{{{religion_bars|}}}</table></td></tr>|}} | <tr><td colspan="2"><table class="barbox" style="background: #ffffff; font-size:88%; padding:0.4em; width:auto;">{{{religion_bars|}}}</table></td></tr>|}}<!-- | ||
{{#if:{{{religion_plain|}}}|<tr><td><b>Religion</b></td><td>{{{religion_plain|}}}</td></tr>|}} | -->{{#if:{{{religion_plain|}}}|<tr><td><b>Religion</b></td><td>{{{religion_plain|}}}</td></tr>|}}<!-- | ||
{{#if:{{{literacy|}}}|<tr><td><b>Literacy</b></td><td>{{{literacy|}}}</td></tr>|}} | -->{{#if:{{{literacy|}}}|<tr><td><b>Literacy</b></td><td>{{{literacy|}}}</td></tr>|}}<!-- | ||
{{#if:{{{life_expectancy|}}}|<tr><td><b>Life expectancy</b></td><td>{{{life_expectancy|}}}</td></tr>|}} | -->{{#if:{{{life_expectancy|}}}|<tr><td><b>Life expectancy</b></td><td>{{{life_expectancy|}}}</td></tr>|}}<!-- | ||
{{#if:{{{custom_label1|}}}{{{custom1|}}}|<tr><td><b>{{{custom_label1|}}}</b></td><td>{{{custom1|}}}</td></tr>|}} | -->{{#if:{{{custom_label1|}}}{{{custom1|}}}|<tr><td><b>{{{custom_label1|}}}</b></td><td>{{{custom1|}}}</td></tr>|}}<!-- | ||
{{#if:{{{custom_label2|}}}{{{custom2|}}}|<tr><td><b>{{{custom_label2|}}}</b></td><td>{{{custom2|}}}</td></tr>|}} | -->{{#if:{{{custom_label2|}}}{{{custom2|}}}|<tr><td><b>{{{custom_label2|}}}</b></td><td>{{{custom2|}}}</td></tr>|}} | ||
</table> | </table> | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 22:28, 25 March 2022
This infobox is designed to be used in the demographics or culture section as a short overview of prominent demographic and social features of your territory. This box is not designed to be all-inclusive.
{{Infobox demography | name = (territory name) | demonym = | official_languages = | minority_languages = (displaces as "recognized minority languages") | ethnicity_bars = (use {{bar percent}} up to eight times to make a bar chart of ethnic makeup) | ethnicity_plain = (plain-text field for ethnicity; omit if ethnicity_bars parameter is used) | religion_bars = (use {{bar percent}} up to eight times to make a bar chart of religious makeup) | religion_plain = (plain-text field for religion; omit if religion_bars parameter is used) | literacy = (you may wish to add {{increase}}, {{steady}}, or {{decrease}} before figure to indicate change) | life_expectancy = (you may wish to add {{increase}}, {{steady}}, or {{decrease}} before figure to indicate change) | custom_label1 = (custom label that appears in bold on the left side of the infobox) | custom1 = (custom information that is defined by custom_label1) | custom_label2 = (custom label that appears in bold on the left side of the infobox) | custom2 = (custom information that is defined by custom_label1) }}