Template:Infobox demography: Difference between revisions
Appearance
Setting up |
rebuild |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table class="infobox"> | <table class="infobox"><tr class="cont"><th colspan="2" class="topic">[[File:Noun project 288.svg|50px|link=]]</th></tr> | ||
<tr class="cont"><th colspan="2" | <tr><th colspan="2" class="topic">Demographics of {{{name|{{PAGENAME}}}}}</th></tr><!-- | ||
<tr><th colspan="2" | -->{{#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><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 class="tbx-wide-label"><b>Ethnicities</b></div></td></tr> | ||
{{#if:{{{ethnicity_bars|}}}|<tr class="cont"><td colspan="2"><div | <tr><td colspan="2"><table class="tbx-barbox">{{{ethnicity_bars|}}}</table></td></tr>|}}<!-- | ||
<tr><td colspan="2"><table class="barbox | -->{{#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 class="tbx-wide-label"><b>Religion</b></div></td></tr> | ||
{{#if:{{{religion_bars|}}}|<tr class="cont"><td colspan="2"><div | <tr><td colspan="2"><table class="tbx-barbox">{{{religion_bars|}}}</table></td></tr>|}}<!-- | ||
<tr><td colspan="2"><table class="barbox | -->{{#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 {{#if:{{{birth_rate|}}}{{{death_rate|}}}| class="cont" |}}><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:{{{birth_rate|}}}|<tr {{#if:{{{death_rate|}}}| class="cont" |}}><td><b>Birth rate</b></td><td>{{{birth_rate|}}}</td></tr>|}}<!-- | ||
{{#if:{{{custom_label1|}}}{{{custom1|}}}|<tr><td><b>{{{custom_label1|}}}</b></td><td>{{{custom1|}}}</td></tr>|}} | -->{{#if:{{{death_rate|}}}|<tr><td><b>Death rate</b></td><td>{{{death_rate|}}}</td></tr>|}}<!-- | ||
{{#if:{{{custom_label2|}}}{{{custom2|}}}|<tr><td><b>{{{custom_label2|}}}</b></td><td>{{{custom2|}}}</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>|}} | |||
</table> | </table> | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
| Line 32: | Line 33: | ||
| literacy = (you may wish to add {{increase}}, {{steady}}, or {{decrease}} before figure to indicate change) | | 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) | | life_expectancy = (you may wish to add {{increase}}, {{steady}}, or {{decrease}} before figure to indicate change) | ||
| birth_rate = (you may wish to add {{increase}}, {{steady}}, or {{decrease}} before figure to indicate change) | |||
| death_rate = (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) | | custom_label1 = (custom label that appears in bold on the left side of the infobox) | ||
| custom1 = (custom information that is defined by custom_label1) | | custom1 = (custom information that is defined by custom_label1) | ||
Latest revision as of 13:20, 26 January 2026
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)
| birth_rate = (you may wish to add {{increase}}, {{steady}}, or {{decrease}} before figure to indicate change)
| death_rate = (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)
}}